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');
}

Posted on 18th Sep, 2018
pripankaj
thanx for sharing..

Your Answer:

Login to answer
59 Like 14 Dislike
Previous forums Next forums
Other forums

Displaying an image using echo command
I had done a query on my database, one of the fields being an image reference to a directory where a

How can you detect variable string in a massive string?
Ok guys, i need some help with this one.

I am going to be getting a large string, like 10-20

Help with looping
I have a comma separated list of colors taken from a database ($ICo) and a directory of images named

Coding Critique
I was hoping someone could take a second and look down my code and see if they see any problems with

regex for quoted text within a string
I am still getting the hang of regex expressions, but I cant seem to figure out how I would escape q

how to read and write into a word document using php...?
hi,
I need,reading and writting into a word document using php.




Thank u inadva

Cursor statement failed with errors
Following statement failed with the errors.

cursor proj_cursor1 is (select projectID from

Simple Scraper... Weird Output
Okay, maybe I just need a Blue Monster and some sleep, but....

I'm scraping a ringtone site

Create multiple (n) arrays
Hi there,

I have the following need:

I have 2 arrays (coming from a databases)

'grab_files', multiple extension?
hey guys,

can anyone suggest a way to make to following line of code look for files with more

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