Re: [PHP] counting downloaded files

2004-02-10 Thread Marek Kilimajer
Adriaan Nel wrote: The variables I submit, are retrieved from a database...so users can't enter anything, What do you mean? Even if the variables are in a hidden input field, anyone can change them. For example one can save the page and change them in html source. I do have a warning inserted a

Re: [PHP] counting downloaded files

2004-02-10 Thread Adriaan Nel
The variables I submit, are retrieved from a database...so users can't enter anything, I do have a warning inserted at the beginning of the file, how do I remove this warning? "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Adriaan Nel wrote: > > > Hi, > > > > I a

Re: [PHP] counting downloaded files

2004-02-10 Thread Marek Kilimajer
Adriaan Nel wrote: Hi, I am using the following piece of code, to download files, but the files are allways corrupt...what am I doing wrong? if ($submit) { $full_filename = $_POST[full_filename]; $filename = $_POST[filename]; $dir = $_POST['dir']; $size = $_POST[size]; $id = $_POST[id]; if(