Header redirect


Posted on 16th Feb 2014 07:03 pm by admin

Hello ive got a problem ive got form with its action set to itself.
Code: <form id="formID" class="formular" method="post" action=""/>
it then runs through validation and if their are no errors it the runs a header redirect.
Code: if($error == ''){
Did you know?Explore Trending and Topic pages for more stories like this.
header('location: http://example.com/test.php);
}
}
The problem im having is it doesnt pass through all the form variables to the next page like firstname lastname email etc.

If i set the forms action to test.php it sends them all fine can someone please tell me a workaround when using a header redirect?
No comments posted yet

Your Answer:

Login to answer
259 Like 38 Dislike
Previous forums Next forums
Other forums

SAP Business Suite
Hi all:

Within the SAP Business Suite solution I would like to ask you the main differenc

SuperCali PHP Event Calendar
does anyone have any experience with the SuperCali PHP Event Calendar? I could use some assistance

duplicate record notification
In my database, after insertion of records, I want to know if the record inserted is duplicate or no

animation progress while uploading files?
Hello, i have some website form to upload few files to server. i want to put some gif animation whi

big pagination problem in php
<?php

$connect = mysql_connect("localhost", "root", "")

unexpected T_SL without a shift left token
Nothing too see here, I'm an idiot and resolved the problem.

Backflush
I am looking for a report in SAP that would give me a list of all parts that are populated with a ba

Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website

INSERT data problem!
After having an string with apostrophes ', double quotes " or any other special characters, suc

PHP5/Zend 2.0 - Resources
PHP5 Snapshots
http://snaps.php.net/

ZEND 2.0 Feature Overview and Design (PDF File

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash