Re: [PHP4BETA] re:ereg_replace
| From: | Unknown Sender | Date: | Wed, 15 Mar 2000 02:00:00 +0000 |
| Subject: | Re: [PHP4BETA] re:ereg_replace | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12122@lists.php.net to get a copy of this message | ||
You have to escape the quote. Wrap rawurlencode() around that variable
when you are populating the hidden form field and see what happens.
On Tue, 14 Mar 2000, Joseph H Blythe wrote:
> PHP Developers List wrote:
>
> > Are you passing it as part of the QUERY STRING? i.e. GET (or after the ?
> > in the URL?) If so you will want to encode it as it is not a safe
> > character. You can look at the rawurl*code functions in the String
> > section of the documentation.
> >
> > Sean
> >
>
> No I am actually just passing it via forms the first time its ok by the time
> I pass it to the second via a hidden field anything after the single quote
> has been removed strange eh!
>
> Thanks
>
> Joseph Blythe
>
> mailto:joe.blythe@binarylogic.com.au
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>