* Thus wrote Ryan Schefke ([EMAIL PROTECTED]):
> Can anyone help me with the code to pull out "clientxxx" from the below
> string:
> 
> /tgwedding/users/client1/sites/testgrabid.php

$parts = explode('/', $path);
echo $parts[2]; // client1


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

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

Reply via email to