Wednesday, October 19, 2011

Info on phpinfo()

phpinfo() is a function (so it looks like :) which returns information about your PHP environment.

Create and save and run it. Here you go.

  1. Open your text editor (notepad application)
  2. Write this piece of code  and save the file. Say you named it (phpinfo.php)
  3. Upload the file on to your web content folder of your domain. (htdocs, if localhost)
  4. Open your browser and type in www.domainname.com/phpinfo.php (if it's on your domain) or localhost/phpinfo.php (if it's on your local disk)

No comments:

Post a Comment