Miva Merchant 4 Module FAQs » Soft Goods (DEN_SOFTGOODS)


{docurl}

What do I need to change in the download.php file if I am using php5?

Comment out these lines, using '//':  

 

//$id = $HTTP_GET_VARS['id'];
//$sc = $HTTP_GET_VARS['sc'];
//$REMOTE_ADDR = $HTTP_SERVER_VARS['REMOTE_ADDR'];
//$HTTP_USER_AGENT = $HTTP_SERVER_VARS['HTTP_USER_AGENT'];

And add these:  

 

$id = $_GET['id'];
$sc = $_GET['sc'];
$REMOTE_ADDR = $_SERVER['REMOTE_ADDR'];
$HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT'];

 

Thanks to Amanda Post for sending us this.  



Last update: 2008-02-04 11:46
Author: Thor
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry