- Code: Select all
// Define the full path to your folder from root
$path = "/hsphere/local/home/";
what type of server are you running. if its linux it needs to be as such above...
/ ---root directory
/www/ ---www directory in root
/www/mysite.com/ --- mysite.com in www in root... and so on.
for windows it would be like.. C:\www\mysite.com
if you dont know this you can ask your host. and if you have SSH access to your server then you can login and type ~ to go to root, and find your way to your site ( thats what i did ). just dont snoop around into other sites on that server, or try to get into system files.. they should be locked by root ( if its linux ) however they do make a log of what you tried to do.