RE: [PHP-DB] Question about strlen .. I think
| From: | Ben Bleything | Date: | Mon, 16 Jul 2001 15:08:57 +0000 |
| Subject: | RE: [PHP-DB] Question about strlen .. I think | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10450@lists.php.net to get a copy of this message | ||
You could split the string on the slashes with explode('/',$string) and
then manipulate the array elements you get back.
Good luck,
Ben
-----Original Message-----
From: Dennis Kaandorp [mailto:denniskaan@multiweb.nl]
Sent: Sunday, July 15, 2001 9:21 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Question about strlen .. I think
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/<3sp>dennis/
Thnx,
Dennis
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net