If you don’t want users to access some files directly from browser then you can simply use following php script on top of such files. Let us take one file named MYFILE.PHP as an example, all you have to do... (Continue reading)
A very simple script that watermarks an image with a PNG file using php.Just save the below script and run it on your browser.Thats it.Make sure of the path [image and thePNG watermark] <?php//just save this file as <sumname>.php and... (Continue reading)
The following PHP code will create thumbnail images on the fly and since it uses the PHP GD2 library, you will need an installation of PHP with at least GD 2.0.1 enabled.. This is a very simple script and very... (Continue reading)
You can prevent any caching in IE by simply setting this response header: Cache-Control: no-cache Pages that use this header aren’t stored in the cache and IE will always reload them from the server; even if you use the Back... (Continue reading)
How to split a word or sentence delimited with slashes,commas, dots, or hyphens < ?php // Delimiters may be slash, comma, or hyphen $data = “Welcome to, the world of php”; list($first, $second) = split(‘[/,-]‘, $data); echo “First Letter: $first;... (Continue reading)