This is an archived tutorial from the kirupa.com legacy collection. It covers software that may no longer be available, but it is kept online because the ideas still hold up.
PHP is the popular scripting language that many Web sites use to create dynamic pages. For example, this site's forums are largely dependent on PHP and its ability to fetch and post data from various sources such as a mySQL database.
Of course, in order to take advantage of PHP, you will need to have PHP functioning on your server. This article will not explain how to install PHP, but this article will explain how to test if PHP is installed and configured properly in your server:
First, launch Notepad or another ASCII text editor. Simply type the following and save the file as info.php or anything similar as long as the file extension is .php.
<?
phpinfo();
?> [ copy the above into Notepad/ASCII editor and save the file with a .php extension ]
Once you have your file saved with a .php extension (info.php for me), upload the file to your Web server. Once the file has been uploaded to your server, preview the file you uploaded in your Web browser.
If PHP is successfully installed, you should see something similar to what you see in the following URL: http://www.kirupa.com/web/info.php
If you do not have PHP installed, you may receive a server error message, the code you copied displayed, a prompt to download the PHP file, or any other number of reasons. If you are a server administrator, visit the following URL for more information: http://www.php.net/
I hope this information helped. If you have any questions or comments, please don't hesitate to post them on the forums found by clicking here.
Regards,
|
|
eyezberg |
|
|
kirupa |
Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence, ads, and algorithm-driven doodads. A huge thank you to all of you who buy kirupa's books, became a paid subscriber, watch the videos, and/or interact on the forums.
Your support keeps this site going! 😇
:: Copyright KIRUPA 2026 //--