how can I add more variables to the $HTTP_GET_VARS ?

DrX <[email protected]> 31 Aug 2003 21:58:21 -0000
Newsgroups gmane.comp.web.oscommerce.devel
Message-ID <3f0a02d82383dadbc750cd492e9e2f38@osCommerce-Forums>
This message was sent from: Development
http://forums.oscommerce.com/viewtopic.php?p=222404#222404
----------------------------------------------------------------

Does anyone know how I can add more variables to the $HTTP_GET_VARS?

I am using a link along the lines of:
[code]'<a href="' . tep_href_link(FILENAME_FREE_DOWNLOAD, 'id=' . $freedownloads_array[$i]['id], 'NONSSL') . '">' . $freedownloads_array[$i]['download_name'] . '</a>[/code]

and I want to know if there is a way to pass an extra variable or two the linked file for example.....

free_download.php?id=6&section=3&file=test.zip

insted of just

free_download.php?id=6

I am using the passed on variable in the linked file to update the selected files download count using an update querry,
and would like to be able to auto start the download from that page (a thankyou for downloading / go back to downloads page) using another variable.....

...Although I have not worked out how to make the download autostart from that page (so any help there would be nice  :lol: )

Does anyone have any info on how to add extra variables or some code I could pop in to the listing page to allow the file to be downloaded from the page listing the files while still adding to the counter :?: 

Or if someone has a module allready for adding a free to download content area in to osCommerce please let me know  :wink: