This option will reset the home page of this site. Restoring any closed widgets or categories.

Reset

Posts Tagged ‘PHP’


Page 6 of 17« FirstNext234567891011NextLast »

How to avoid direct access to a file in php

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)

Tagged with:     

Simple php watermark script

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)

Tagged with:     

Create thumbnail using php and gd library

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)

Tagged with:     

Using no-cache for Stop Caching in Firefox and Internet Explorer

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)

Tagged with:     

How to split a word or sentence delimited with slashes, commas or hyphens

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)

Tagged with:     

Page 6 of 17« FirstNext234567891011NextLast »