Yes, $PHP_SELF would include /1/2/3. $SCRIPT_NAME wouldn't have it though
since Apache fills that in with the script it executes. Or you could
simply look at $PATH_INFO and strip the contents of $PATH_INFO from the
end of $PHP_SELF.
-Rasmus
On Fri, 5 Oct 2001, Ashley M. Kirchner wrote:
Rasmus Lerdorf wrote:
Yes, $PHP_SELF would include /1/2/3. $SCRIPT_NAME wouldn't have it though
since Apache fills that in with the script it executes. Or you could
simply look at $PATH_INFO and strip the contents of $PATH_INFO from the
end of $PHP_SELF.
Aha! Good. Now, does anyone
Yes, $PHP_SELF would include /1/2/3. $SCRIPT_NAME wouldn't have it though
since Apache fills that in with the script it executes. Or you could
simply look at $PATH_INFO and strip the contents of $PATH_INFO from the
end of $PHP_SELF.
Aha! Good. Now, does anyone have a link to
3 matches
Mail list logo