Re: post without <form>
| From: | Josh Close | Date: | Wed, 07 Jul 2004 14:03:58 +0000 |
| Subject: | Re: post without <form> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189870@lists.php.net to get a copy of this message | ||
So 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.
If there is an easier way than session or cookies to do this, I'd like to know.
-Josh
On Wed, 07 Jul 2004 09:55:56 -0400, Jason Paschal <j_paschal@hotmail.com> wrote:
> you are trying to post form data programmatically. i posted this code on my
> site for reference:
>
>
> http://www.dailymedication.com/modules.php?name=News&file=article&sid=19
>
> ---------------------------------------
> http://www.dailymedication.com - Everything you didn't
> know you needed
> until you went there and said to yourself, "What did I do before I visited
> DailyMedication.com?" and another part of you answered, "It does not matter.
> You are here now."
>
> >From: Josh Close <narshe@gmail.com>
> >To: php-general@lists.php.net
> >Subject: [PHP] post without <form>
> >Date: Wed, 7 Jul 2004 08:49:01 -0500
> >
> >How can I post data without having it submitted from within a form?
> >
> >With get I can just add it to the url. Is there a php function for this?
> >
> >--
> >-Josh
>
>
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>