Re: issue with sending a request_uri in a url
| From: | Chris Shiflett | Date: | Fri, 12 Sep 2003 02:24:27 +0000 |
| Subject: | Re: issue with sending a request_uri in a url | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162372@lists.php.net to get a copy of this message | ||
--- daniel@electroteque.org wrote:
> something.php?action=delete&return_url=someother.php?action=edit&id=1
>
> it will come out as
>
> something.php?action=delete&return_url=someother.php
>
> i tried urlencode but still no luck any ideas?
What did you try to URL encode? You need to encode the URL that is the value of
return_url. So, you want to end up with this:
something.php?action=delete&return_urlsomeother.php%3faction%3dedit%26id%3d1
Hope that helps.
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/