Sometimes the most stupid things take most of your time. It can happen when you need to enter the full path of a folder on you web server (e.g. for sheaduled backups of your MySQL Database).
I can give you a great tool for that:
1) Copy this part of code, paste it into your Notepad and save it as "path.php".
<?php
echo getcwd();
?>
2) Upload that file to a folder which full path you need.
3) Call the file thru your browser: e.g. http://www.yourdomain.com/bckp/path.php
4) That's it, you've got it!





0 comments
Post a Comment