[PHP-DB] more upload script filename checking

2002-10-14 Thread Michael Knauf/Niles
Ok, next question: Here's my upload script: ? if ($upfile1==none) { echo no file selected for upload please go back and select a file.; exit; } if ($upfile1_size==0) { echo No data was transferred, your file may be too large or

Re: [PHP-DB] more upload script filename checking

2002-10-14 Thread Marco Tabini
Well, you can use the break statement to exit a loop or code block, but wouldn't you rather want to create a single loop that can handle any number of files? On Mon, 2002-10-14 at 13:54, Michael Knauf/Niles wrote: Ok, next question: Here's my upload script: ? if