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
>
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
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
- Original Message -
From: "Manisha" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 4:28 PM
Subject: Re: [PHP] Image Uploading not taking place
> yes, I have copied example from there itself, it is the max size which
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
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:
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
Image file uploading is not taking place.
This is the html code :
Send this file:
This is the php file - uploadtest.php
When I run the html and submit it - I get messages "Inside if " and at the
end "file upload over" But when I check the directory /img - there is
nothing inside.
8 matches
Mail list logo