|
|
|
| |
Welcome
Time Now: Sat Jul 31, 2010 1:03 am
All times are GMT
|
|
|
|
|
|
|
|
|
|
| |
SEO 1 Forums
>
Webmastering >
PhpInfo(); command
cheapdomainseller
Senior Member
Joined: 01 Mar 2006
Good Posts: 336
|
| PhpInfo(); command |
|
|
If you need to check which version of PHP your site is running on, or what your home directory path is on a shared server.
Whether register_globals are on or not, or any other server information. Create a file with a text editor, calling it info.php (you can call it anything you like as long as you create the file with the .php extension).
In the file, put this one line of code in the text editor:
Code:
code: <?php phpinfo(); ?>
Make sure you use the "any file" save option so it saves as a .php file (and not a .txt file).
Upload the file to your site, then call it in your web browser, eg. http://yoursite.com/info.php
The information you need will show in your browser.
Once you have copied the information, delete the php info file from your server space so unauthorised people can't get to see your site/server details.
Cheap domain registrations - Very cheap domain name prices. |
Sat Nov 21, 2009 12:43 am |
|
|
|
|
|
|
|
|
|