Re: issue with sending a request_uri in a url
| From: | daniel at electroteque dot org | Date: | Fri, 12 Sep 2003 02:11:55 +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-162370@lists.php.net to get a copy of this message | ||
Aplogies, that was my app although i am having more issues now, i use
switch statements on a get action variable.
here is the full link
manage.php?
action=deleteconfirm&asset_modelID=82&table=asset_models&return_url=/assets/
manage.php?table=asset_models&ID=82&action=edit
it now things its a edit action instead of a deleteconfirm action :\
> Hi there, i have come to a solution, due the fact that the client does
> not store the http_referer on a javascript location.href, is to send
> the refering url into the url, there is an issue though say it looks
> like
>
> 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 ?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php