Re: Track URL of Page. !
| From: | Jason Morehouse | Date: | Mon, 17 Jun 2002 23:56:43 +0000 |
| Subject: | Re: Track URL of Page. ! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102624@lists.php.net to get a copy of this message | ||
Any of:
$_SERVER["SCRIPT_NAME"];
$_SERVER["PHP_SELF"];
$_SERVER["REQUEST_URI"];
Cheers,
-J
On Tue, 18 Jun 2002 07:10:13 +1200, Septic Flesh wrote:
> Well I am writting a simple tracker and I wanna and to my database the
> filename of the page that is displayed in the URL..
>
> Example.
>
> http://www.mysite.com:7070/shop/myfile.php
>
> and I wanna read the "myfile" or the "myfile.php"
>
> Which function does that ?
> is it parse_url() and pathinfo() ?
>
> and how ?
>
> Thanks in advance...
>
>
> --
> ~~~~~~~~~~~~~~~~
>
> Sapilas@/dev/pinkeye
>
> ~~~~~~~~~~~~~~~~
--
Jason Morehouse (jm@netconcepts.com)
Netconcepts LTD - Auckland, New Zealand
* Linux: Because rebooting is for adding hardware.