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!

4 comments

  1. Chronic Logic // 10 April 2014 at 04:02  

    Awesome, works great.

  2. John Dudley // 20 October 2014 at 12:54  

    We has been offering customized web development company, web design, software development, mobile application and web application services to businesses of all sorts.For more information please Web Development Company and Web Development in India.

  3. Pnp Universe // 19 May 2015 at 08:07  
  4. Vcom Infotech Company // 26 April 2017 at 12:26  

    Amazing info within the code which you have shared within these post. Thank you very much. Kovai e solutions | Best infotech company in coimbatore

Take a look on my other postings: