Hallo,
I got this code:
$ThisFileName = basename(__FILE__); // get the file name $path = str_replace($ThisFileName,"",__FILE__); // get the directory path
what is FILE for kind of magic?
It's one of the magic constants. You can read about this here.
Thomas
thanks, some of them looks to be very usefull...