Re: header('Location:') works locally but not remotely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ok I have a page that calls my my functions, basically a 6 step signup. All 
the steps look like this

function step_one() {

$_SESSION['property_id'] =$_POST['property_id'];
$property_id = $_POST['property_id'];
$postcode= $_POST['postcode'];
$query = "INSERT INTO properties (property_id, postcode) VALUES 
('$property_id', '$postcode')";
$result= mysql_query($query);
header( 'Location: ?step=two' );
}

This SHOULD redirect to

add_new.php?step=two

As add_new is the container page.

Thanks.

R. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux