![]() |
|
|
|
|
#1 (permalink) |
|
Has settled in nicely
Join Date: Dec 2008
Gender: Male
Location: London
Age: 17
Posts: 1,386
|
Is there a way that I can have a redirect page that also sends post data to the new page?
e.g form sends post data to redirect page, redirect page puts it in a file and then forwards it to be use on another page. Using php, no javascript please
__________________
"Personally its not God I dislike, its his fan club I cant stand" |
|
|
|
|
|
#8 (permalink) |
|
Has settled in nicely
Join Date: Dec 2008
Gender: Male
Location: London
Age: 17
Posts: 1,386
|
if I use that the user will have to click a submit button, or id have to use javascript
__________________
"Personally its not God I dislike, its his fan club I cant stand" |
|
|
|
|
|
#18 (permalink) |
|
Had a little taste
Join Date: May 2008
Gender: Male
Posts: 53
|
It depends on if he is forwarding it to another server, or something on the same server, if it is on the same server (I don't think he specified) then yes, storing the data in a session is the best way to go.
If you are submitting data to another site, such as PayPal, MySpace, etc, you would need to use cURL to simulate the post request. |
|
|
|
![]() |
| Tags |
| data, forwarding |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| post photos of the snow here :) | Jasmine | General Discussion | 60 | 06-02-2009 12:36 PM |
| THE POST IF U THINK SCREAM SHOULD B ALLOWED IN THE 18+ THREAD THREAD | abbie | Chatter | 22 | 02-02-2009 03:52 AM |