Make your own free website on Tripod.com

Visit the Official PHP Website
Search this Site

PHP Programming

By James N Hitz

phpinfo() in action

Let's see phpinfo() in action. Create the following code:

<html><head><title>PHP Information</title></head>

<?php
     print phpinfo();
?>

</body></html>

Save is as... anthing of course (I recommend info.php) {Please be sure to use the correct extension as is configured in your server (.php, .php3, .phtml)}

Assuming you have saved on the root of your server, you will now try the url (I am here using localhost) like this:

http://localhost/info.php

That should give you more than you can handle (for now)!

Before we wind up this lesson though, let's take a while and have a more critical look at string variables.

Good God! Haven't we had enough of these variable thingies?!

Nope!... String Variables Please!

<< Predefined Variables | String variables >>