PHP Test - Useful PHP Information
by Vince Barnes
http://www.htmlgoodies.com/beyond/php/article.php/3472431
This very first page you make that includes some PHP code
deserves to be something really useful. Don't let the simplicity of this little page fool you!
This is a very useful tool -- as you will see when you try it. This page is going to verify the availability of PHP on your server, and provide you with a lot of information about the PHP itself and the server it's running on.
Here's the code:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>
That's it!
Almost all of this is instantly recognizable to you as plain old HTML code -- all except that one curious line in the middle:<?php phpinfo(); ?>
more...
Use the html code (exactly as shown) above to create a page named "phptest.php" (or you choose - MUST end with ".php"). Next, load/view the page to see loads of valuable info about your PHP and server.
Report site issues on the contact page or check out alternate contact methods.
Some content on this site is Copyright © 2005- URLAGE.com All Rights Reserved

0 comments:
Post a Comment
Thank you for writing, your feedback is appreciated. Interested in linking to this post? LINKING: Each post has a Link to html code box for quick copy/paste. Don't miss a single post, RSS Subscribe. To send site feedback or questions click here.