Re: [php] -help me

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

 



On Thu, 2005-02-17 at 23:50, K Karthik wrote:
> i have got string as "/home/karthik/welcome.php/view.php"
> i just need "view.php" how shall i remove rest of the string.
> please do help me.i am new to php.
> -thanks,
> karthik
> 

Lets see if you can learn to fish.

Since you are new you should learn that one of the greatest resources in
all of opensource software is the php.net documentation.

try entering php.net/searchterm in the browser
ie: php.net/filename

hmm looks like there is a function called basename you might want to
look at.

The manual has all functions arranged by functional area ( eg
filesystem)

I can't tell you enough what a powerful resource this was to me a a
beginning php programmer and remains so to this day.

Bret

-- 
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