forgive my ignorance, as I'm new to php coming from a ms background...
If I create a page named redirect.php and it's only content is:
<?php
header("Locatio n: http://www.google.com" );
?>
Should it not redirect to www.google.com? I can't get the header()
function to redirect.
I'm trying to take an online reservation... the customer fills out
contact and billing info at SignUp.php. The form on SignUp.php
submits to Confirm.php, where I perform validation.
If the input fails validation, I want to redirect back to SignUp.php.
Otherwise I will display the input for confirmation before processing
the order. Maybe I'm implementing this wrong... using asp thinking
for a php implementation, but I think this should be simple and I must
be missing something.
thanks.
If I create a page named redirect.php and it's only content is:
<?php
header("Locatio n: http://www.google.com" );
?>
Should it not redirect to www.google.com? I can't get the header()
function to redirect.
I'm trying to take an online reservation... the customer fills out
contact and billing info at SignUp.php. The form on SignUp.php
submits to Confirm.php, where I perform validation.
If the input fails validation, I want to redirect back to SignUp.php.
Otherwise I will display the input for confirmation before processing
the order. Maybe I'm implementing this wrong... using asp thinking
for a php implementation, but I think this should be simple and I must
be missing something.
thanks.
Comment