Thread
:
Tip: Finding Server File Path
View Single Post
#
2
(
permalink
)
04-24-2008, 11:03 AM
dman_2007
Guest
Posts: n/a
Nice tip livetech, another way to find out current directory including the script file name is to use __FILE__ predefined php constant :
Code:
<?php echo __FILE__; ?>
dman_2007