Finding Your Absolute Path
<?php $path = pathinfo($_SERVER['SCRIPT_FILENAME']); echo $path['dirname']; ?>
This should find your absolute path. Just make a new page and paste the contents. Upload the page into the folder you want your path to display, and than load the page. It's pretty self-explanatory. It's not very useful, but if you need to include a file in a separate folder, it comes in handy.
Category: PHP
Rating:
Added: 21st December 07 by Tiffany
Bookmark At: StumbleUpon, Digg

Handy Stuff
Downloads
Top Links
Resources