right this may seem really basic but i want to get the file name of the current file, how would i do this?
like :
$filename = blegh;
where blegh is where the file name is being detected.
$_SERVER['PHP_SELF']
have a look at http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server for more details
Phodetheus