Source Code: Programing Source Code

Phone Bill

Does it ever bother you how much a long-distance phone call is going to cost, after you hung up? With this script, all you have…

Browser Check

It's often necessary to make a script only accessible to the newer browsers (that can support the script without error) and keep older browsers from…

How to use PHP with Oracle Database 11g

How to use PHP with Oracle Database 11g

This source code shows you how to connect to Oracle Database 11g and execute queries using the PHP. First of all it sets the ORACLE_HOME…

Printing numbers within a range in PHP

The following PHP source code shows that how to print random numbers within a range using. It uses rand() function to return the random numbers…

How to parse the contents of an XML file using PHP?

This is simple PHP script to show the contents of an XML file on html page. The script uses PHP XML parser to traverse through…

Connect to sFTP Server in PHP

To use SFTP within your PHP application, a series of fundamental steps need to be executed. First and foremost, you must establish a connection to…

Calculating the Greatest Common Denominator (GCD) in PHP

This PHP code defines a function called gcd that calculates the greatest common denominator (GCD) of a list of integers by using a brute-force approach…

Search the LDAP Directory in PHP

This PHP code connects to an LDAP server, performs a search for entries with the last name and then sorts and prints them alphabetically. The…

Get Detailed Server Information in PHP

Welcome to the PHP Server Information Script – a robust script designed to provide valuable insights into your server environment. This script offers a overview…

PHP/MySQL Database Table Structure Viewer

The script uses MySQLi, a modern and more secure extension for interacting with MySQL databases in PHP. It provides a beginner-friendly way to understand the…