hey whats up? can someone please tell me how to find this? // Base path (e.g. '/home/username/public_html/') $sm['path_base'] = '/home/intavant/public_html/dev/smys/'; // Base URL (e.g. 'http://www.example.com/') $sm['url_base'] = 'http://www.smys.dev.intavant.com/'; how do i find my BASE PATH?and BASE URL? i downloaded an open source ready made script for running a myspace layout site and all i have to do is upload all the files to my server and change some things in the config.php file. i have the files uploaded inside a folder called "freedesigns" The freedesigns folder is a folder that i created...and inside the free designs folder i downloaded all the files of the script i there i did this because i didnt want the script to be the index page of my site www.nnennalovette.com i wanted for the visitors on click the "free designs" button on my home page and then it will take them to the "index" page for the layouts...by the way the script if a full myspace layout site... did i make any sense? please help me thankxxx in advance
Try one or more of the following things. echo $_SERVER['DOCUMENT_ROOT']; echo DIR(__FILE__); echo $_SERVER['SCRIPT_NAME'];
Don't try the above post without making a backup and reading a guide on how to apply a backup, please. Your base path if you have standard shared hosting with cPanel will be home/username/public_html/freedesigns Code (markup): where the username is what you use to login to your cPanel hosting account. Your base URL is http://www.nnennalovette.com/freedesigns Code (markup): Josh.
Do what exodus says. They're just 'reads'. They don't affect files, security or anything. That's how you get that information in PHP.
echo dirname(__FILE__) or echo basename(__FILE__); etc. $base_url="http://".$_SERVER['SERVER_NAME'].dirname($_SERVER["REQUEST_URI"].'?').'/';