View Single Post
Old 04-09-2005, 09:35 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
use variable: $_SERVER['PHP_SELF']

you should really name all of your includes with a .php extention. since most web servers are not setup to parse .inc files in php, then someone could view your source code in case you are using php code in your .inc file.

if you must name it with a .inc, then name it body.inc.php. it is good practice and more secure.
__________________
Mike
sde is offline   Reply With Quote