$bEmail=mysql_real_escape_string($_POST['bEmail']);
$bPassword=mysql_real_escape_string($_POST['bPassword']);
/webapp/wcs/stores/servlet/Do/LogonForm
header("Location: /cart/payment");
I want to POST the form /webapp/wcs/stores/servlet/Do/LogonForm in jQuery you can do:
$.post('/webapp/wcs/stores/servlet/Do/LogonForm', {
email: <?=$bEmail?>,
password: <?=$bPassword?>
},
window.location="cart/payment"
I want to do this in PHP, so PHP runs a script, this page sends a POST back and whilst the script is running at the end it uses the Header to redirect.
Yes you can ….
and then redirect