Header is not working in IE
Posted on
16th Feb 2014 07:03 pm by
admin
Hi ! header function is not working in IE but it works in FF, Safari, Chrome. any help please. :
if (isset($_POST['sub1'])) {
$id = $_POST['cscstest'];
$qty = $_POST['cscsqty'];
$id = $_POST['cscstestmul'];
$qty = $_POST['multiqty'];
$id2 = $_POST['extralan'];
$qty2 = $_POST['languagetestqty'];
If (!empty($_POST['cscstest'])) {
$id = $_POST['cscstest'];
$qty = $_POST['cscsqty'];
$_SESSION['cscstest'] = $id;
$_SESSION['cscsqty'] = $qty;
$_SESSION['cscsqty'] = isset($_POST['cscsqty']) && $_POST['cscsqty'] > 0 && is_numeric($_POST['cscsqty']) ? $_POST['cscsqty'] : 1;
$add_item = add_to_cart_multiple($id, $_SESSION['cscsqty']);
$_SESSION['total_items'] = total_items($_SESSION['cart']);
$_SESSION['total_price'] = total_price($_SESSION['cart']);
}
if (!empty($_POST['cscstestmul'])) {
$id = $_POST['cscstestmul'];
$qty = $_POST['multiqty'];
$_SESSION['cscstestmul'] = $id;
$_SESSION['multiqty'] = $qty;
$_SESSION['multiqty'] = isset($_POST['multiqty']) && $_POST['multiqty'] > 0 && is_numeric($_POST['multiqty']) ? $_POST['multiqty'] : 1;
$add_item = add_to_cart_multiple($id, $_SESSION['multiqty']);
$_SESSION['total_items'] = total_items($_SESSION['cart']);
$_SESSION['total_price'] = total_price($_SESSION['cart']);
}
if (!empty($_POST['extralan'])) {
$id2 = $_POST['extralan'];
$qty2 = $_POST['languagetestqty'];
$_SESSION['extralan'] = $id2;
$_SESSION['languagetestqty'] = $qty2;
$_SESSION['languagetestqty'] = isset($_POST['languagetestqty']) && $_POST['languagetestqty'] > 0 && is_numeric($_POST['languagetestqty']) ? $_POST['languagetestqty'] : 1;
$add_item2 = add_to_cart_multiple($id2, $_SESSION['languagetestqty']);
$_SESSION['total_items'] = total_items($_SESSION['cart']);
$_SESSION['total_price'] = total_price($_SESSION['cart']);
}
if (!empty($_POST['otherqty'])) {
$id3 = $_POST['otherqty'];
$qty3 = $_POST['otherqtynum'];
$_SESSION['otherqty'] = $id3;
$_SESSION['otherqtynum'] = $qty3;
$_SESSION['otherqtynum'] = isset($_POST['otherqtynum']) && $_POST['otherqtynum'] > 0 && is_numeric($_POST['otherqtynum']) ? $_POST['otherqtynum'] : 0;
$add_item3 = add_to_cart_multiple($id3, $_SESSION['otherqtynum']);
$_SESSION['total_items'] = total_items($_SESSION['cart']);
$_SESSION['total_price'] = total_price($_SESSION['cart']);
}
header('Location: index.php');
}
ANY HELP
No comments posted yet
Your Answer:
Login to answer
276
9
Other forums
curl javascript problem
Hi Experts.
I'm new curl and wanna to get some info from this http://www.amadeus.net/
when
ORA-00932: inconsistent datatypes: expected - got CLOB
SO : windows xp
database : XE
there is a table (transito) with two fields of clob
Is it possible to put an entire 500-page book in a database with PHP?
I am working on an intranet and I was wondering if its possible to code php with mysql to enter a fu
PHP hyperlinks generator - HELP plz
Hi
I need some help to get this done using php:
1 - I have few hyperlinks say 500
Preg_match with an array
is there an away to use preg_match with an array?
i want to check a string with an array to s
Using system() and bringing back the results
I am aware that you can use system() within PHP to execute system commands, but I was wondering if t
PHP - MySQL Fail
My PHP code will only execute the first part of my code...
Code: <?php
sessio
pointer 102 question
I read a book
1
2
3
4
5
6
7
8
9
10
11
12
int main()
{
Force download script not handling files with spaces properly
I have a regular old php force download script, uses this code:
Code: header("Cache-Cont
Secure FTP
Hi experts,
There is no SFTP action in MII workbench.
This means it needs developing custo