Php Graphics Change Snippets


30 March, 2011   

Need to unzip a file? this function can do that for you. It is reccomended that the functions.php file and the file that exicutes the unzip function are NOT in the same directory as the zip files. unzip ( string $zipfile , string $newLocation ) zipfile gets the name of the current zip file. newLocation is where you want to store all the...

15 December, 2011   

Here shown Java code example - The protected keyword

This function builds an HTML select list from from data retrieved from a mySQL table.

01 October, 2013   

This php code for mail someone from your code

* Code to generate spiral matrix for n elements where n >= 1 * To generate spiral matrix for n elements just * Change the value of MAX to whatever u want :)

MySQL code to Find PHP code in database Drupal 6.x

Sometimes it's desirable to change a style of the first and/or last elements in a container. You can do this by manually applying classes to your HTML elements: ("last-child" still not supported in IE8).

Example shown here how to convert a PHP array into a string

01 October, 2014   

PHP example code for secure link conversion

Scribble an applet of intermediate complexity, used as an example in the introductory chapter. Click and scribble in the window.

05 April, 2014   

PHP code to take web screenshots. You can get your application key and secret by registering at grabz.it

26 May, 2012   

Helps to find out browser version and type your website visitor is using

11 March, 2015   

PHP code shows how to upload images into a mysql database using

Note that to add a new column to the query, just add in an input box to the HTML, the PHP generates an insert for each field.

An example PHP function return a value, use the return statement.

13 April, 2011   

Reading a file to a string couldn't be easier than using the file_get_contents() function. Simple pass the name of the file (with path) and optional parameters

21 January, 2011   

Sometimes the time set on your server isn't accurate to what your local time is. If you can't change it, you can adjust it yourself. If your server thought it was 12 midnight, but it was really 7 pm, this will roll the $today variable back five hours to be correct.

07 December, 2011   

Php code to guessing a number using in html page

27 May, 2015   

A very common task is converting a number of bytes into something for human digestion.

07 April, 2013   

A simple example code for user login with a login form and database query