>  For($i = 0; $i< (count($items)/1); $i +=1){
>  $path=strstr(($items[$i]), '/');
>  return $path;

You probably want the return *OUTSIDE* the loop.

You also probably want $path .= strstr(...), not just =

Can't tell for sure, as I don't understand what sed and awk are doing.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to