HTML form enctype Attribute The HTML form enctype attribute’s main purpose is to indicate how the form data/values should be encoded prior to it being sent to the location defined in the action attribute on the form. for e.g. <form action=”scriptarticle/post_page.php” method=”post” enctype=”multipart/form-data”> By default, form data is encoded to “application/x-www-form-urlencoded” so that…
If you need to show weather in your website. A very simple way to extracting weather information of any location is via Google weather API. The API will return weather in a very simple XML format that you can easily parse and integrate on any page. The API need not required any key, you just…
How to use Google with .com instead of country extension or force your browser to open google.com? You have observed that whenever you open http://www.google.com, in your browser’s address bar, you are redirected to the local Google domain of your country (http://www.google.co.in for India, .pk for Pakistan, .lk for Sri Lanka etc). Google…
How to force apache to parse html files as php? Below are some reasons why people like to parse HTML file as PHP. Search engines seem to more favor web pages that have .html extension instead of dynamic .php extensions. Converting an old static website into a dynamic website and worry about losing page…
The meta refresh tag or meta redirect is a tool for reloading and redirecting web pages. Meta refresh tag is easy to use, but most don’t know that innocent use of that tag may significantly lower your page rank or even get your pages banned in some of search engines. The meta tag belongs…
Prevent Image Caching & Prevent Browser Caching The Browser(s) saves a copy of a file (like a logo image) and uses this cached (saved) copy on each page that needs the same, but some time you will not need of this i.e you want that every image and CSS and java script should be…