Hello,
On my site users can submit ftp's.
Is there a way to replace the spaces between the paths?
This is what I mean:
/uploads//by/ /dennis/
must become
/uploads/4sp/by/3spdennis/
Thnx,
Dennis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Thank you very much!
Cc Zona [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Dennis Kaandorp) wrote:
Is there a way to replace the spaces between the paths?
This is what I mean:
/uploads//by/
argh.. it was to complicated for me :(
Can you help me with this?
$ftpdata['path'] = preg_replace($ftpdata['path']);
Thnx
Cc Zona [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Dennis Kaandor
3 matches
Mail list logo