Re: how to read the path of the current document's url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Tim Burgan" <email@xxxxxxxxxxxxx> wrote in message
news:41E0CC6A.6020506@xxxxxxxxxxxxxxxx
> Hello,
>
> I have a page where the URL is along the lines of
> http://www.example.com/test.php
>
> I've tried using the parse_url() function without success.. I'm trying
> to just get "test.php" returned as a string.
>
> Can someone please point me in the right direction with this.
>
> Thank you for your time.
>
> Tim

http://de3.php.net/manual/en/function.basename.php

Regards, Torsten Roehr

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux