need help what to put in this string

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dan9078
Forum Newbie
Posts: 1
Joined: Thu Sep 25, 2008 6:27 pm

need help what to put in this string

Post 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.
User avatar
LuckyShot
Forum Newbie
Posts: 13
Joined: Thu Sep 25, 2008 5:02 pm
Location: Barcelona

Re: need help what to put in this string

Post 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.
Post Reply