I need some help, I have to change a cgi file I have to change a file, it says following $pathToHTML = '/home/yourdomainpath/public_html/resources'; Now I can't seem to understand what does 'yourdomainpath' means and what should I place there. I dont understand what actually pathtoHTML means I have tried changing yourdomainpath to my ftp username but it didn't work What should I do please help Thanks in advance
It's wherever your index.html page or whatever is actually stored on the host. Ask your host. Yes, it will have your username in, but more than likely it won't be exactly like their example.
thanks I did tried root/my ftp username /public_html/folder where i kept the html but I still didnt worked
You should be able to find out just by logging into your ftp account. Just take whatever path you use for your html files and append /resources onto the end. If you don't know the exact html path on your server you could try writing a php file with an error in it (e.g. echo $somevar without the ; at the end) and uploading it to your server. When you run it, it'll probably say something like "Error in /home/www/usernamehere/html/badphp.php" and you can just take the /home/www/usernamehere/html (for example) part of it and then add /resources. (I know it's not orthodox, but it works!)