Sorry, Let me try to be a little more clear. I am looking for a script that will output only "03.php".
The first url was "http://www.domain1.com/test/03.php"
Output was simply "/cgi-bin/php"
The second url was "http://ww.domain2.com/test/03.php"
Output was "/test/03.php"
How should the script be to output only "03.php" -- on both servers?
Thanks ChristGuy