Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Welcome to the TechnoWorldInc! Community!
Recent Updates
[May 13, 2025, 02:04:25 PM]

[May 13, 2025, 02:04:25 PM]

[May 13, 2025, 02:04:25 PM]

[May 13, 2025, 02:04:25 PM]

[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[March 12, 2025, 03:05:30 PM]

[March 12, 2025, 03:05:30 PM]

[March 12, 2025, 03:05:30 PM]

[March 12, 2025, 03:05:30 PM]

[January 03, 2025, 03:29:12 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Programming Zone » PHP
 PHP Function: phpinfo() the power of basics
Pages: [1]   Go Down
  Print  
Author Topic: PHP Function: phpinfo() the power of basics  (Read 1236 times)
Hellraiser
TWI Trailblazer
*******



Karma: 3
Offline Offline

Posts: 2476


View Profile
PHP Function: phpinfo() the power of basics
« Posted: August 29, 2007, 10:36:42 AM »


phpinfo() the power of basics

Just open any editor and type the following:

Code:
<html><head>
<title>PHPINFO</title>
</head>

<body>
<? phpinfo(); ?>
</body>
</html>

 Save it as info.php or any other name you like.

This simple page gives you everything you need to know about a web server. This function is also used to test your PHP installation. If you are deep into web development then you can easily recount instances when something is working just fine on the local server but when we upload it everything goes WAMP!.

This is mostly because of different versions of PHP/MYSQL ++ or different settings, configuration. I just need to advice everyone to create a file with phpinfo() on your local server and web hosting server. And in the future when you face an unexpected error just compare the two files and I am telling you than you will relate to me big time.

Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.283 seconds with 25 queries.