snippetdb.com

 


 

Advertisements:

Freeware Programs: snippetdb.com
 
Download if else example 1.0

if else example 1.0  if else example is a basic example of an if then else control structure.

Download for loop - simple 1.0

for loop - simple 1.0  for loop - simple script is the for loop - basic control structure. This example loops until the variable hits 10 and then breaks out.

Download create array from comma separated list 1.0

create array from comma separated list 1.0  create array from comma separated list script uses the PHP Explode() command to create an array from a comma separated list.By changing the delimiter you can convert tab separated, newline separated, etc...

Download check if a file or directory exists 1.0

check if a file or directory exists 1.0  To determine whether a file exists on the server, PHP has a simple function: file_exists(). This can also be used to determine if a directory exists.

Download read file to array 1.0

read file to array 1.0  This simple PHP example shows how to read a text file into an array, with each line of the file as a seperate element.

Download extract filename from a full path string 1.0

extract filename from a full path string 1.0  extract filename from a full path string easily returns the filename component of a path with the built-in PHP basename() function. Useful for splitting a string path to get the filename.

Download search array find in array 1.0

search array find in array 1.0  search array find in array script searches an array to find a specific value.

Download date and time formatting 1.0

date and time formatting 1.0  date and time formatting introduces a function that returns a formatted string showing date, time and/or seconds.

Download strip leading comma from a string 1.0

strip leading comma from a string 1.0  strip leading comma from a string removes the leading comma (if there is one)from a string using the ltrim command.

Download send email 1.0

send email 1.0  send email script allows you to send an email from PHP.

Download redirect browser 1.0

redirect browser 1.0  redirect browser - Using the php header function, a browser can be redirected to another page.

Download simple email validation 1.0

simple email validation 1.0  simple email validation script validates an email address and returns TRUE or FALSE. It checks format only, does not use any networking functions to verify the account actually exists.

Download form action detect form post 1.0

form action detect form post 1.0  form action detect form post script provides you a way to process a php form. This example looks for the existance (regardless of value) of the Submit _POST variable.

Download show referring URL 1.0

show referring URL 1.0  show referring URL script grabs the referring URL, get the HTTP_REFERER and save it to a variable.

Download simple form handling 1.0

simple form handling 1.0  simple form handling shows a very simple form together with the form handling process on a single page.