For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > September 2006 > Creating a web page and one or more downloads in the same script









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Creating a web page and one or more downloads in the same script
PleegWat

2006-09-25, 6:57 pm

Hi,

I'm working on the free website package wowroster. A main purpose of
this package is recieving uploaded LUA script files and processing them.
During this processing an upload log, a SQL log, and sometimes an error
log are generated, which are all displayed on a webpage.

Currently these logs are also downloadable using an (IMHO) ugly
construction of having the log in a hidden form field, and POSTing it
back to the site so the site can send the same log again as a download.

Would there be a better way to generate downloadable log files of an
action like this? The logs currently aren't saved on the server, but
data from the file is saved in a mysql database.

Thanks for your help,
--
PleegWat
Remove caps to reply
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com