Re: [PHP] Rejecting File Upload

2007-08-07 Thread Richard Lynch
On Sat, August 4, 2007 11:48 pm, php mail wrote: > How do I prior check file's size in server side before the upload > process > begin ? You don't. I don't think you can even do that with JavaScript, but if it can be done at all, it's gonna be with JS. -- Some people have a "gift" link here. Kn

Re: [PHP] Rejecting File Upload

2007-08-05 Thread Tijnema
On 8/5/07, php mail <[EMAIL PROTECTED]> wrote: > Hi All, > > How do I prior check file's size in server side before the upload process > begin ? > > Regards, > > Feris > You can't do it with PHP, with PHP you can only check it after the file has uploaded, you can only do it on the client side. Thi

Re: [PHP] Rejecting File Upload

2007-08-04 Thread Steve Edberg
At 11:48 AM +0700 8/5/07, php mail wrote: Hi All, How do I prior check file's size in server side before the upload process begin ? Regards, Feris If you want file information for a file on the *server*, see http://www.php.net/manual/en/ref.filesystem.php If you want file size inf

Re: [PHP] Rejecting File Upload

2007-08-04 Thread Michael Preslar
Check http://www.php.net/file_upload .. In specific, the MAX_FILE_SIZE form field .. And then check http://us3.php.net/manual/en/ini.core.php#ini.upload-max-filesize On 8/4/07, php mail <[EMAIL PROTECTED]> wrote: > Hi All, > > How do I prior check file's size in server side before the upload proce

[PHP] Rejecting File Upload

2007-08-04 Thread php mail
Hi All, How do I prior check file's size in server side before the upload process begin ? Regards, Feris