|
Posted by Pedro Graca on 11/16/06 11:17
One more change :)
matt wrote:
> Pedro Graca wrote:
<snip>
>> # If the request is for a valid file, send the
>> # file (and mail the admin) and exit.
>> if (isset($_GET['id']) && download_id_is_valid($_GET['id'], $_SESSION['files'])) {
>> if (send_file_by_id($_GET['id'], $_SESSION['files'], DOWNLOAD_DIRECTORY)) {
>> mail(EMAIL_ADMIN, 'downloads', 'file sent');
>> exit();
>> }
else {
## send_file_by_id() failed. Let the user know
echo "Download could not be started. Try again.<br>\n";
## and continue to display file list links
}
>> }
>>
>> # display file list links
<snip>
> Thanks again, I really appreciate the work you put in, it's going now,
> working perfectly!
At last! Thank you for the feedback.
--
I (almost) never check the dodgeit address.
If you *really* need to mail me, use the address in the Reply-To
header with a message in *plain* *text* *without* *attachments*.
[Back to original message]
|