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
$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])
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
3 matches
Mail list logo