PHP - Other Languages Codes

Multi Form Wizard in PHP

Description If we want to use a form that displays more than one page and preserves data from one page to the next. For example, our form is for a survey that has too many questions to put them all on one page. In this case, we can use session ...

0 Comments. 2332 views since Mar 22, 2009

Find Broken Links in PHP

Description This program produces a list of links in a page and their status. It tells you if the links are okay, if they've been moved somewhere else, or if they're bad. Run the program by passing it a URL to scan for links in GET query as htt ...

0 Comments. 1479 views since Mar 22, 2009

Recursive Web Directory Listing in PHP

Description This program provides a view of the files inside your web server's document root, formatted like the output of the Unix command ls. Filenames are linked so that you can download each file, and directory names are linked so that you ...

0 Comments. 1320 views since Mar 22, 2009

PHP File Upload

Description This code helps you to create a simple file upload system with your user can upload a file from the local computer to your webserver. Source Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHT ...

1 Comments. 1213 views since Mar 22, 2009

Send MIME Mail in PHP

Description This program enables you to send MIME email. For example, you want to send multipart messages with both plain text and HTML portions and have MIME-aware mail readers automatically display the correct portion. Source Code ...

0 Comments. 1130 views since Mar 22, 2009

WebSite Monitoring (Ping Website) in PHP

Description This code allows you to check whether a domain, server is up or down and how fast it is. Generally speaking, it implements a ping command with PHP. Source Code <?php // Function to check r ...

0 Comments. 1015 views since Mar 22, 2009

Calendar in PHP

Description The skt_calendar( ) function prints out a month's calendar, similar to the Unix cal program using only PHP and no JavaScript. Source Code <?php function skt_calendar($month,$year) { list ...

0 Comments. 974 views since Mar 22, 2009

Functions Taking Variable Number of Arguments in PHP

Description Suppose, we want to define a function that takes a variable number of arguments. We will create a function that uses func_get_args( ) to return an array containing all the values passed to the function. Look at the code. Sour ...

0 Comments. 807 views since Mar 22, 2009