|
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
|