Home Tutorial Php Examples PHP Examples

 
 

PHP Examples
Posted on: July 30, 2009 at 12:00 AM
Advertisement
PHP Examples

In this section of PHP examples, the new bees will learn the basic examples of most common used functions. These examples will help to the experts too as assesing our codes, the programmers can develop simple to very complex programs. In this PHP example section, we have tried to cover the whole range of PHP examples from several functions to sessions, class and objects.

The examples of PHP are given below:

fgetc() example
This is the example of fgetc().
 
fgets() example
This is the example of fgets().
 
fscanf() example
Here you will learn about fscanf() example.
 
fseek() example
Here you will learn about the function of fseek() example.
 
copy() example
Here you will learn the example of copy() in PHP.
 
fwrite() example
Here you will learn about the example of fwrite().
 
Modifying the Path Example.
In this example you will learn how to modify the corrupt Path.
 
basename() example
Here you will learn the example of basename().
 
print the headlines example.
This is the example of printing the headline of a form in PHP.
 
show_source() example.
This is the example of show_source().
 
Printing the title of a remote page
In this example you will learn about printing the title of a remote page.
 
Create a new zip file in ZipArchive.
Creating a new zip file in ZipArchive.
 
Read a zip file.
zip_entry_read() example
 
Converting the text files into gzip file.
This example will explain you how to convert text files into gzip file?.
 
Converting the text files into bzip file.
This example will explain about converting text files into bzip file.
 
File download security.
Here you will learn to implement about file download security.
 
Uploading the file on Server.
This example will inform you about uploading the file on the server.
 
Uploading the multiple files
Here you will learn about uploading the multiple files at a time.
 
Adding pop up menu on headlines.
This example will explain you about adding pop up menu on headlines.
 
Printing server information
This example will inform you about how to print server information in PHP.
 
Opening a file in a HTML form
In this example you will learn how to open a file in a HTML form.
 
Copy text file in a HTML form.
This is the example of copying text file using HTML form.
 
Create a directory in php
You will learn here about creating a directory in php.
 
Creating a File in the directory.
In this example you will learn about creating a File in the directory.
 
Create session variable.
In this example you will learn how to create session variable in PHP.
 
Labeling session name .
This example informs you about labeling session name in PHP.
 
Starting the session.
This is the example of starting the session in PHP.
 
Form for Update Customization.
In this example you will learn about form for update customization.
 
Printing username,email Id using session variable.
In this example you will learn about printing username, email Id using session variable.
 
Session Register
In this example you will learn how to create session register in PHP.
 
Session_cache_limter()
In this example you will learn how to create session_cahe_limter()in PHP.
 
Session Date Encode
In this example you will learn about session date encode in PHP.
 
Decoding the session
In this example you will learn about decoding the session in PHP.
 
Destroying the session
In this example you will learn about destroying the session in PHP.
 
session_unset()
In this example you will learn about session_unset() in PHP.
 
Session Modification
In this example you will learn how to do the session modification in PHP.
 
Session regenerated id
This is the example of session regenerated id in PHP.
 
session_save_path()
In this example you will learn how to use session_save_path()in PHP.
 
Custom Session Handler
In this example you will learn how to use custome session handler in PHP.
 
setcookie()
In this example you will learn how to create setcookie() in PHP.
 
Setting Cookie
In this example you will learn about setting cookie in PHP.
 
setrawcookie()
In this example you will learn how to set setrawcookie()in PHP.
 
Delete Cookie
In this example you will learn how to delete cookie in PHP.
 
PHP line break, PHP nl2br() function
In this tutorial we will show you how you can add the line break in your php program. We will use PHP nl2br() function to add the line break in PHP program.
 
PHP Get Absolute Path
The PHP Get Absolute Path example shows you how you can get the absolute path of any file.
 
PHP get character from String
PHP get character from String tutorial shows you how to get substring from a string
 
PHP Get Array Length
PHP get array length tutorial show you how to count the elements of an array or no. of properties of an object
 
PHP Get Browser Information
PHP Get Browser Information tutorial gives you an example to get your browser information
 
PHP Get Browser Information
PHP Get Browser Information tutorial gives you an example to get your browser information
 
PHP Get Browser IP Address
PHP Get Browser IP Address has an example to show you how to get or detect IP address of your system.
 
PHP Get Cookie
PHP Get Cookie tutorial provides an example by which you can check the attributes of Cookie
 
PHP Date function
PHP Date function tutorial gives you examples and a table of date format
 
PHP Global Variable
PHP Global Variable, In this tutorial gives you an idea about accessing global variables, it provides two ways to access global variable one is global keyword and $GLOBALS associative array.
 
PHP Make Time
PHP Make Time tutorial discussed about the format, various parameter of make time function of PHP, it also includes an example which gives you an idea about make time function.
 
PHP MySql Server Version
PHP MySql Server Version tutorial provides an example through which you can get the MySql server version.
 
PHP  Exception Handling
PHP  Exception Handling tutorial gives an overview of exception handling technique of PHP, it includes few example of Exception handling Class, which helps you to understand in better way.
 
PHP var_dump function
PHP var_dump function - In this tutorial gives you an overview of var_dump(), its general format, & two examples. With the help of examples you can understand the functionality of var_dump() Function using PHP.
 
Advertisement

Related Tags for PHP Examples:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: July 30, 2009

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com