Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001072

RE: [PHP-DB] Question about strlen .. I think From: Ben Bleything (bleythbe <email protected>)
Date: 07/16/01

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 <email protected>]
Sent: Sunday, July 15, 2001 9:21 AM
To: php-db <email protected>
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 <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>