Mobile Redirect is not working

Discussion in 'Technical Support' started by eterno, Aug 4, 2011.

  1. eterno Customer

    I want to publish 68 classifeids on mobile. I'm not able to do redirect in phone browser. It always say error as 'unformatted content type'. I've also created separate pages for mobile version. This part throughs error:
    (in step3submit.php)
    PHP:

    header
    ("Location: mobusercheckout.php?step=6&category=" $category "&listingid=" $listingid "&productid=" $productid "&source=" $source);
    but for the same code if i write 'cURL' code, it worked. Could anyone help me in this regard.
  2. John Snyder Staff

    It would help if you provided the error you are getting.
  3. Abdulaziz Customer

  4. eterno Customer

    fter 6 time '302' redirect in emulator, it threw error - 'Unsupported Content'. I dont know what could be the reason. Is behavior of mobile devices could be different. The time it could redirected could also matter.
  5. John Snyder Staff

    Try adding exit(); after your header call.

Share This Page