Re: [PHP] [php] -help me

2005-02-18 Thread M. Sokolewicz
Tyler Replogle wrote: $str_array = explode("/", ""/home/karthik/welcome.php/view.php"); // $str_array[4] shoud be view.php From: K Karthik <[EMAIL PROTECTED]> To: php-general@lists.php.net Subject: [PHP] [php] -help me Date: Fri, 18 Feb 2005 11:20:29 +0530 MIME-Version: 1.0 Received: from lists.php

RE: [PHP] [php] -help me

2005-02-18 Thread Tyler Replogle
$str_array = explode("/", ""/home/karthik/welcome.php/view.php"); // $str_array[4] shoud be view.php From: K Karthik <[EMAIL PROTECTED]> To: php-general@lists.php.net Subject: [PHP] [php] -help me Date: Fri, 18 Feb 2005 11:20:29 +0530 MIME-Version: 1.0 Received: from lists.php.net ([216.92.131.4])

Re: [PHP] [php] -help me

2005-02-17 Thread Bret Hughes
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 le