Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

Working with PHP Datatypes

By Steve Adcock
2005-05-14


Finding your PHP info

You can easily find out some juicy stuff regarding your PHP installation and web server by using PHP's phpinfo() function. PHP's delimiters are <? and ?> and MUST surround all your PHP coding. The following will display in-depth information about your PHP installation. Try it with PHP installed.

<?


phpinfo()

?>
A cool little pre-defined PHP constant will let you view the type of operating system that your PHP installation is operating on. To use that, follow the following code:

<?


echo(PHP_OS);

?>
The echo syntax will simply print out whatever is within the parenthesis; in this case, the value of the variable PHP_OS.

Tutorial Pages:
» Working with PHP Datatypes
» Finding your PHP info
» Defining variables and constants
» Let's play "What's that datatype?" !
» If this, If that


 | Bookmark
Related Tutorials:
» Zend Framework Tutorial
» Port Scanning and Service Status Checking in PHP
» Web Database Access from Desktop Applications
» CubeCart 3.0 Installation and Configuration
» PHP Site Search Made Easy
» Installing and Configuring Drupal 6.1

Ask A Question
characters left.