Sunday, October 5, 2008

Finding Your Server Path And PHP Settings


More than once I will be working on coding or fixing others BANS sites, I run into different type servers that utilize the path to the files different. A good simple code for this and to see what other PHP info is on the server, you can use the code below:

<?php

phpinfo ();

?>

Just copy it into a notepad file and save as serverinfo.php and upload it to whatever directory you are looking for the path info on. Then call it in a browser with http://www.yourdomainname.com/folderyouuploadeditto/serverinfo.php

It will also tell you a slew of other info as well without having to break and login into your cPanel or hunting elsewhere. You never know when you will need it, but it does come in handy.

Related Posts by Categories



0 comments:

Followers

Twitter Updates

    follow me on Twitter
     

    Build A Niche Store Blog. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted by Bloganol dot com Privacy Policy