Thanks Phil, that fixed it.
Also need to change the line for incorrect validation code used:
Code:
header("Location: product.php?productid=".$productid."&sendenqok=2");
to
Code:
header("Location: product.php?productid=".$XCMproductid."&sendenqok=2");
Quote:
Originally Posted by PhilJ
Found the reason for the access denied issue...
In enquire.php
change
Code:
header("Location: product.php?productid=".$productid."&sendenqok=1");
to
Code:
header("Location: product.php?productid=".$XCMproductid."&sendenqok=1");
My mistake 
|