aximbigfan Posted February 18, 2008 Share Posted February 18, 2008 Hi, this is very hard to put into words, but I need to find the filename of the script that the client requested. For example, say we have a file named "index.php" I want to have a bit of code in "index.php" that detects the filename. If that makes an sense at all... Thanks, Chris Quote Link to comment Share on other sites More sharing options...
uniflare Posted February 18, 2008 Share Posted February 18, 2008 use SERVER variables: $_SERVER['PHP_SELF']; Quote Link to comment Share on other sites More sharing options...
aximbigfan Posted February 18, 2008 Author Share Posted February 18, 2008 Wow, I'm surprised you managed to figure out what I wanted so quick! Thanks a bunch! Chris Seto Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.