On Feb 20, 2008 7:14 AM, Eric Boo <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm currently parsing the variable $_SERVER['PHP_SELF'] to get the
> base url of a site.
[snip!]
> Questions"
> 1) Are there security implications in using $_SERVER['PHP_SELF'], and
> if so, how do I mitigate it?
> 2) Is usi
At 8:14 PM +0800 2/20/08, Eric Boo wrote:
Hi all,
I'm currently parsing the variable $_SERVER['PHP_SELF'] to get the
base url of a site.
Example:
http://www.example.com/~eric/program/index.php?option=abc
What I'm interested in getting is
"http://www.example.com/~eric/program/";, which I am abl
2 matches
Mail list logo