Re: Track URL of Page. !
| From: | Septic Flesh | Date: | Mon, 17 Jun 2002 19:14:00 +0000 |
| Subject: | Re: Track URL of Page. ! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102567@lists.php.net to get a copy of this message | ||
OR how do I get the URL ?
I think i ll manage to do it with the pathinfo function
--
~~~~~~~~~~~~~~~~
Sapilas@/dev/pinkeye
~~~~~~~~~~~~~~~~
"Septic Flesh" <septic_flesh@hotmail.com> wrote in message
news:20020617190407.51399.qmail@pb1.pair.com...
> 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
>
> ~~~~~~~~~~~~~~~~
>
>