have received this message in error, please notify us immediately
and destroy the original.
-Original Message-
From: Todd Cary [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 4:51 PM
To: [EMAIL PROTECTED]
Cc: Gus Scherer
Subject: [PHP] Header() and POST data
I need to go
--- 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 -
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://www.php.net/unsub.php
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:
You could create a new FORM 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?
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 does
* 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 about
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 the
On 25 March 2004 20:17, Chris Thomas wrote:
I am not sure if this was designed like this, or if its just
something im doing wrong.
Im posting some data to a processing page, where i handle it then use
Header('Location: other.php') to direct me to another page.
The problem that im running
I am not sure if this was designed like this, or if its just something im
doing wrong.
Im posting some data to a processing page, where i handle it then use
Header('Location: other.php') to direct me to another page.
The problem that im running into is that the posted data is available in
Chris Thomas wrote:
I am not sure if this was designed like this, or if its just something im
doing wrong.
Im posting some data to a processing page, where i handle it then use
Header('Location: other.php') to direct me to another page.
The problem that im running into is that the posted data is
--- Chris Thomas [EMAIL PROTECTED] wrote:
Im posting some data to a processing page, where i handle it then use
Header('Location: other.php') to direct me to another page.
The Location header requires an absolute URL.
The problem that im running into is that the posted data is available
in
Chris Shiflett mailto:[EMAIL PROTECTED]
on Thursday, March 25, 2004 1:01 PM said:
I think you made a typo or you're misinterpreting something. The URL
referenced in a Location header will be requested with a GET request,
so it is impossible that any POST data exists.
alright cool. now
Here is a url with the problem that i was describing
http://xiot.darktech.org
I fiddled and I found what the problem.
Header('Location: $calling) the first char in $calling can not be a
/
I was setting $calling with $_SERVER['PHP_SELF'] which adds the / in front
of the path.
I changed
I have the following problem:
a php page receives POST data from a form, it needs to
elaborate the data and send it to another page again
in POST automatically, without the user noticing.
Is it possible to use the header() function to send a
POST request? If yes how? And how do I send the post
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
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
17 matches
Mail list logo