--- Todd Cary <[EMAIL PROTECTED]> wrote:
> I need to go to another page and I use the
>
> header("location: " . $the_url_to_the_page);
>
> Is it possible to use this method with POST so that the info does
> not show in the URL?
No, which is a very Good Thing.
Chris
=
Chris Shiflett - http:
Hi, I had the same problem, had to send parameters through POST to a
second page I redirected to, I ended up using the curl library but I'm
still facing a few troubles with it, it redirects the page, the
parameters are sent through POST but the relative urls on the second
page are taking the first
Yes I agree, SESSION variables would be a pretty good way to pass info to
the next page.
> Daniel -
>
> What is the best way to "go to another page"?
>
> header("location: . $new_page);
>
> Todd
>
> Daniel Clark wrote:
>
>> No I don't think so.
>>
>>
>>>I need to go to another page and I use
* Thus wrote Todd Cary ([EMAIL PROTECTED]):
> I need to go to another page and I use the
>
> header("location: " . $the_url_to_the_page);
>
> Is it possible to use this method with POST so that the info does not
> show in the URL?
No.
You can use session's to pass data without the user knowing
Daniel -
What is the best way to "go to another page"?
header("location: . $new_page);
Todd
Daniel Clark wrote:
No I don't think so.
I need to go to another page and I use the
header("location: " . $the_url_to_the_page);
Is it possible to use this method with POST so that the info do
You could create a new with hidden variable. And have an automatic
submit onload, going to the next location.
> I need to go to another page and I use the
>
> header("location: " . $the_url_to_the_page);
>
> Is it possible to use this method with POST so that the info does not
> show in the URL?
No I don't think so.
> I need to go to another page and I use the
>
> header("location: " . $the_url_to_the_page);
>
> Is it possible to use this method with POST so that the info does not
> show in the URL?
>
> Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Here is an example of how to manually perform an HTTP POST with PHP. If
you execute this code, you should see the search results of searching
the PHP manual for the term "curl" (using language en_US). Curl is
another option for people who need to do this sort of thing.
Happy hacking.
Chris
h
The short answer is no (based on my interpretation of your question).
Consider carefully where you are wanting to send data and when. The
header() function is specifically for manipulating HTTP headers in the
response you will send the Web client. You are probably not wanting to
post data to t
9 matches
Mail list logo