Re: post without <form>
| From: | Marek Kilimajer | Date: | Wed, 07 Jul 2004 21:00:41 +0000 |
| Subject: | Re: post without <form> | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189902@lists.php.net to get a copy of this message | ||
Lars Torben Wilson wrote:
Josh Close wrote:Use session var if you are already using sessions, else use cookieSo basically there is no easy way around this. What I'm trying to do is have a page return to a page that was a couple pages back with the same get info. On the second page I can do $return_url = $_SERVER['HTTP_REFERER']; to get the previous url. But then I need to pass it on to the next page, then that page will return to the $return_url. I think passing via $_SESSION vars or cookies would be easier then doing actual socket posts.
but try to make the code working in the browser ;)If there is an easier way than session or cookies to do this, I'd like to know. -JoshIt's super easy, actually. There's been a wee bit of code floating around the mailing list for 5 or so years for this: