Re: [PHP] URL encode

2005-02-23 Thread Richard Lynch
Bruno Santos wrote: > Hello. > > Im having some trouble when getting a query from a $_GET method > > the problem is, when using $_GET, i get some charaters decoded as html > entities. > > if i submit the word %sara% (example), is ok > but, if i submi the word %carlos%, i get Êrlos, witch is the tra

Re: [PHP] URL encode

2005-02-23 Thread Jochem Maas
Bruno Santos wrote: Hello. Im having some trouble when getting a query from a $_GET method the problem is, when using $_GET, i get some charaters decoded as html entities. if i submit the word %sara% (example), is ok but, if i submi the word %carlos%, i get Êrlos, witch is the translation of htm

[PHP] URL encode

2005-02-23 Thread Bruno Santos
Hello. Im having some trouble when getting a query from a $_GET method the problem is, when using $_GET, i get some charaters decoded as html entities. if i submit the word %sara% (example), is ok but, if i submi the word %carlos%, i get Êrlos, witch is the translation of html entity %ca how ca

Re: [PHP] URL encode/decode problem

2004-09-13 Thread Rosen
The sending form works with JavaScript. When enter on some field combination "+ " plus sign and space - JScript encode it - I see it with alert - "%2B%20" , but when new window opens on url bar shows "+%20" - thath means space only. "Greg Donald" <[EMAIL PROTECTED]> wrote in message news:[EMAIL P

Re: [PHP] URL encode/decode problem

2004-09-13 Thread Greg Donald
On Mon, 13 Sep 2004 18:35:58 +0300, Rosen <[EMAIL PROTECTED]> wrote: > I changed the JScript to encode data not as unicode - now it code data as > "%20%2B%20". > But when I get data with $_REQUEST["var"] - I loose symbol "+" - with code > "%2B". Can you change it back before you decode it? Maybe

Re: [PHP] URL encode/decode problem

2004-09-13 Thread Rosen
I changed the JScript to encode data not as unicode - now it code data as "%20%2B%20". But when I get data with $_REQUEST["var"] - I loose symbol "+" - with code "%2B". "Greg Donald" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 13 Sep 2004 17:21:48 +0300, Rosen <[EMAIL

Re: [PHP] URL encode/decode problem

2004-09-13 Thread Greg Donald
On Mon, 13 Sep 2004 17:21:48 +0300, Rosen <[EMAIL PROTECTED]> wrote: > It will not work - Javascript function "escape()" return string as unicode > data - something like "%u0431%u043E%u044F". Well, normally I'd say urldecode() but I don't think it handles unicode, so you may wanna check out the mu

Re: [PHP] URL encode/decode problem

2004-09-13 Thread Rosen
It will not work - Javascript function "escape()" return string as unicode data - something like "%u0431%u043E%u044F". And I don't know how to "decode" these data as "normal" chars. "Greg Donald" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 13 Sep 2004 16:51:59 +0300, R

Re: [PHP] URL encode/decode problem

2004-09-13 Thread Greg Donald
On Mon, 13 Sep 2004 16:51:59 +0300, Rosen <[EMAIL PROTECTED]> wrote: > I have follow problem: One form whitch send some text fields to my PHP > script. But before send data, the form makes > javascript command "escape" for text fields. The text fields may contain > characters "+", quotes, etc. > Th

[PHP] URL encode/decode problem

2004-09-13 Thread Rosen
Hi, I have follow problem: One form whitch send some text fields to my PHP script. But before send data, the form makes javascript command "escape" for text fields. The text fields may contain characters "+", quotes, etc. The form post data with "GET" method. And then I can't get correctly posted d

Re: [PHP] URL Encode to send as form POSTed Items

2002-11-25 Thread Rasmus Lerdorf
You can't send POST data with a Location redirect. You can do it by connecting directly to port 80 of the remote server and sending the POST data. -R On Mon, 25 Nov 2002, Zac Hillier wrote: > Hi All, > > I would like to know if it's possible to use php to encode form variables as > if they had

[PHP] URL Encode to send as form POSTed Items

2002-11-25 Thread Zac Hillier
Hi All, I would like to know if it's possible to use php to encode form variables as if they had come from a post form instead of a get form. I imagine I need to place them into a header but cannot find much to read that gives any information on this. I need to create form variables and than use

Re: [PHP] URL Encode >

2001-04-09 Thread info
D]>; <[EMAIL PROTECTED]> Sent: Monday, April 09, 2001 4:12 PM Subject: Re: [PHP] URL Encode > > In one page from a series of pages where I am building arrays for future > use: > > $item4_array = urlencode (serialize ($item4_array)); > echo ""; > ---

Re: [PHP] URL Encode >

2001-04-09 Thread Christopher Allen
In one page from a series of pages where I am building arrays for future use: $item4_array = urlencode (serialize ($item4_array)); echo ""; --- On my last page I send an email so I need the info that was stored: $item4_array = unserialize(urldecode($item4_array)); $message .=" DIMS: L $item4_a

[PHP] URL Encode >

2001-04-09 Thread info
Hey there, does anybody have any info regarding urlencode and rawurlencode - I understand that raw is supposed to be used with directory structures and urlencode with appended vars but when I ran a test I could use either. Does anybody have any info or examples which demonstrate which should be

RE: [PHP] URL Encode

2001-02-10 Thread PHPBeginner.com
List Post Subject: [PHP] URL Encode I know this have been covered before but I can't find it in my thousands of emails... How would I URL Encode the following... I am retrieving a variable like but for example if it is Hilton Head Island I need it to add the + signs as Hilton+Head+Isla

RE: [PHP] URL Encode

2001-02-09 Thread Boget, Chris
> I know this have been covered before but I can't find it in > my thousands of emails... How would I URL Encode the following... > I am retrieving a variable like but > for example if it is Hilton Head Island I need it to add the > + signs as Hilton+Head+Island so Netscape won't crash. Funny

[PHP] URL Encode

2001-02-09 Thread David Smith
I know this have been covered before but I can't find it in my thousands of emails... How would I URL Encode the following... I am retrieving a variable like but for example if it is Hilton Head Island I need it to add the + signs as Hilton+Head+Island so Netscape won't crash. Thanks...