garry27 Posted November 11, 2006 Share Posted November 11, 2006 i want to reference a script within the script itself in order to write a couple of conditional statements. how can i do this?thanks in advance Link to comment https://forums.phpfreaks.com/topic/26892-how-do-i-reference-the-current-script/ Share on other sites More sharing options...
AndyB Posted November 11, 2006 Share Posted November 11, 2006 Not sure I understand the question, but the name of the current script is $_SERVER['SCRIPT_NAME'];Refer to http://ca.php.net/reserved.variables for full details of variables. Link to comment https://forums.phpfreaks.com/topic/26892-how-do-i-reference-the-current-script/#findComment-122967 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.