Hi all,
Could anyone suggest a solution to my problem of an empty HTTP_REFERER. I am trying to add some additional functionality to the mymarket/pgmarket tutorials by including a flash file for displaying some products.
Each item has a link:
shopping/shopping_cart_add.php?product_id=956
which it sends to the file shopping_cart_add.php which then adds the product id and is then to refresh the page it is sent from:
if (! empty($HTTP_REFERER))
header("Location: $HTTP_REFERER");
else
header("Location: $CFG->firstpage");
my problem is that the swf file embedded in the page does not seem to create a $HTTP_REFERER.
Any Suggestions?