Re: [PHP] String handling with special char?

2001-10-30 Thread Andrew Cowles
; > > - Original Message - > From: "Andrew Cowles" <[EMAIL PROTECTED]> > To: "Frewuill Rodriguez" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, October 30, 2001 9:23 AM > Subject: Re: [PHP] String handling

Re: [PHP] String handling with special char?

2001-10-30 Thread Frewuill Rodriguez
all % were changed by %25. I tested it and it worked. Hope this helps - Original Message - From: "Andrew Cowles" <[EMAIL PROTECTED]> To: "Frewuill Rodriguez" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 30, 2001 9:23 AM Subjec

Re: [PHP] String handling with special char?

2001-10-30 Thread Andrew Cowles
Hi Frewuill, Thanks for the mail. The parameters are passed from an end user via HTTP GET and on receipt I use urlencode($parametername) but, the parameter only contains data up to the 1st occurance of %00 and then ends. Calling the following code with 'script.php?text=%0A%01%00%B1%B2' would out

Re: [PHP] String handling with special char?

2001-10-30 Thread Frewuill Rodriguez
just use url_encode() to encode your parameters and then pass them It's just like richard basket problem a few emails behind $parameters = url_encode("error=25"); index.htm?$parameters Hope this helps - Original Message - From: "Andrew Cowles" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED