Tuesday 2 June 2015

To find the absolute path

To find the absolute path:

<?php echo $_SERVER['DOCUMENT_ROOT']; ?>

1. Copy and paste the above code in a blank page
2. Save it as absolutepath.php
3. Upload it via FTP to the location where you intend to install your images for the slideshow
4. Open your favorite browser and enter the URL to point to this file:
- Example: http://www.your-site.com/absolutepath.php
5. That's it, you should have your absolute path displayed in the screen.

0 comments:

Post a Comment