View Full Version : Header() problems

07-25-2008, 03:15 PM
Is it possible to have two header("Location:whatever.php"); specified? The reason why I ask is I want to have somebody file out a form then have that sent to one address, but I want the user to be sent to another address. The first form will be where somebody will enter their mobile number. This will be sent to a remote url then the user will receive an sms with a pin number. This pin will be entered into the next form. But because the first form information is sent to a remote url I don't have any control over it, but I need the information to be sent to it and then the user continue on the next form.

07-25-2008, 03:28 PM
Try something like this:


Use CURL to process the request to the remote server, then continue on with whatever else you need to do with the mobile number.

07-25-2008, 05:19 PM
thanks, Can I still use cURL if the form method is get instead of post?