Out of curosity: why do you think it would work better or be more direct? 

-----Original Message-----
From: Gryffyn, Trevor
Sent: 20-5-2004 16:50
Subject: RE: [PHP-WIN] Passing +, =, - at post and get

That's gotta be one of the more creative ways around using a regular
expression I've ever seen.. Hah.. Good job Svennson.  A regex or string
replace would probably work better, or at least be more direct though.

-TG

> -----Original Message-----
> From: Svensson, B.A.T. (HKG) 
> Sent: Thursday, May 20, 2004 10:48 AM
> Subject: RE: [PHP-WIN] Passing +, =, - at post and get
> 
[...]
> Also if you just want to replace a single char with another
> single char, then you might like to do like this:
> 
>   $String = implode(explode($String, $OldChar), $NewChar);
>  

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

Reply via email to