Page 1 of 1

need help what to put in this string

Posted: Thu Sep 25, 2008 6:32 pm
by dan9078
hi i need help i am putting together a digital download site selling images and i need help understanding the following script
basically need help what should i replace.
readfile(SITE_ROOT.'/download/'.$itemDownload[$prodictId]['location']); what is fussy is the part site_root how should that be changed and the part where says "location"

thank you for anyones help.

Re: need help what to put in this string

Posted: Sat Sep 27, 2008 7:04 am
by LuckyShot
Hi Dan,

The SITE_ROOT may be a global variable.
The "location" is part of the $itemDownload matrix.

Try searching were the $itemDownload is declared through the code.

Cheers.