Re: [PHP] Image Uploading not taking place

2002-04-11 Thread Jason Wong
On Friday 12 April 2002 10:53, Manisha wrote: > >I'd be surprised if you really want to move the file to /img. > >And if you're on a Unix system the web server certainly won't > >have write access to the / directory. > > i tried with complete path starting from root (/usr/web/html/img) and >

Re: [PHP] Image Uploading not taking place

2002-04-11 Thread Richard Archer
At 10:53 AM +0800 12/4/02, Manisha wrote: >> >if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) { >> > copy($HTTP_POST_FILES['userfile']['tmp_name'], "/img"); >> >>Check to see whether that "copy" function completed successfully. > >how ? I put one echo statement after copy

Re: [PHP] Image Uploading not taking place

2002-04-11 Thread Manisha
At 05:52 PM 4/11/02 +1000, Richard Archer wrote: >At 2:28 PM +0800 11/4/02, Manisha wrote: > > > > >That's a mighty small limit on file size. Especially if it's an >image being uploaded. Are you sure the file you're testing with >is smaller than 1000 bytes? > >Also, be aware that this field is adv

Re: [PHP] Image Uploading not taking place

2002-04-11 Thread Richard Archer
At 2:28 PM +0800 11/4/02, Manisha wrote: > That's a mighty small limit on file size. Especially if it's an image being uploaded. Are you sure the file you're testing with is smaller than 1000 bytes? Also, be aware that this field is advisory only. Many browsers ignore it. >if (is_uploaded_fil

Re: [PHP] Image Uploading not taking place

2002-04-10 Thread Manisha
yes, I have copied example from there itself, it is the max size which I forgot to copy in email but which is actually in a program. My html do contain max size tag. Still it is not working. html code Send this file:

Re: [PHP] Image Uploading not taking place

2002-04-10 Thread Richard Archer
At 1:52 PM +0800 11/4/02, Manisha wrote: >Image file uploading is not taking place. A 5 second glance at the manual page for file uploads would have shown you what you're doing wrong *and* given you a cut-and-paste example of how to do it right. http://www.php.net/manual/en/features.file-upload