Q 1- What is the difference between HTML and HTML5 ? Ans: HTML5 is nothing more then upgraded version of HTML where in HTML5 Lot of new future like Video, Audio/mp3, date select function , placeholder , Canvas, 2D/3D Graphics, Local SQL Database added so that no need to do external plugin like Flash player or other library Q 2- What is the <!DOCTYPE> ? Is it necessary to use in HTML5 ? Ans: The <!DOCTYPE> is an instruction to […]
1- How to reset/destroy a cookie ? Reset a cookie by specifying expire time in the past: Example: setcookie(‘Test’,$i,time()-3600); // already expired time Reset a cookie by specifying its name only Example: setcookie(‘Test’); 2- What types of images that PHP supports ? Using imagetypes() function to find out what types of images are supported in your PHP engine. imagetypes() – Returns the image types supported. This function returns a bit-field corresponding to the image formats supported by the version of […]
How to increase page rank – is a question, which keeps challenging webmasters since long time. Because increase page rank brings the authority to rule the web. Page rank is Google’s measurement of how authoritative or popular a website is, on a scale of 1 to 10. Where 10 implies the most trusted site, and 1 the least. Google decides the page rank by, the total aggregate vote of all inbound links to a particular website. If you want to […]
1- Why doesn’t the following code print the newline properly? <?php $str = ‘Hello, there.nHow are you?nThanks for visiting techpreparation’; print $str; ?> Because inside the single quotes the n character is not interpreted as newline, just as a sequence of two characters – and n. 2- Would you initialize your strings with single quotes or double quotes? Since the data inside the single-quoted string is not parsed for variable substitution, it’s always a better idea speed-wise to initialize a […]
I’ll be the first to admit that security is far from a fun issue to deal with. If it wasn’t for this cool masthead I whipped up for the occasion, I probably wouldn’t even be excited to talk about it! But in all seriousness, without taking these precautions you will, eventually, suffer the consequences. It happens to big sites hoping to profit and smaller personal weekend blogs. No one is safe. The most you can do, and the smartest you […]
Dramatically Increase OSCommerce Performance with ‘Pagespeed’ on Firefox. Recommended in Google’s Webmaster Tools, Pagespeed will quickly and easily analyze your site’s performance. More importantly, this analysis will also give you the exact reasons why your site performs as it does, list out the specific steps you can do to improve it AND gives you the tools to do it plus the links to understand what you are doing.
Google Plus increases with a high speed. While it is accomplishment in June, to begin with on an invite-only base, it has 60 million users; it is the 14th of Facebook users. On 7th November, Google Plus host start allowing business profiles (i.e. Google+ pages), where previous to, this was the only single user profiles. Google Plus is a different means, similar to Twitter and Facebook, used for businesses to dig up the expression out on the subject of their […]
HERE is a list of sites where you can make Animated Gifs online without downloading any software! If you want to add animated gifs in your blog, do NOT resize the gif using height and width attribute of image tags. Because doing so will “break” the image. Resize before uploading, not after. *** Gifmake This is a pretty simple animation tool. You can upload images either from your computer or from the web and then set the speed for individual […]