Hi, just to let you know i've sussed it out, i didnt realise that the
destination directory had to be on the system, rather than on the site
thank you very much for ur help and time
adnan
Adnan wrote:
> Hi,
>
> i have been having trouble working out how to upload an image, the m
Adam Voigt wrote:
> I think what you want is:
>
> move_uploaded_file($_FILES['imagefile']['tmp_name'],$ftpdir .
> $_FILES['imagefile']['name']);
>
> (Apologies if it wraps, that should be all one line.)
>
>
>
> On We
Adam Voigt wrote:
> Hmm, what's the exact error message you get?
>
>
> On Wed, 2003-05-28 at 12:43, Adnan wrote:
>> Adam Voigt wrote:
>>
>> > If your running under linux/unix, do:
>> >
>> > chown webuser:webuser /tmp/php
>>
Adam Voigt wrote:
> Hmm, what's the exact error message you get?
>
>
> On Wed, 2003-05-28 at 12:43, Adnan wrote:
>> Adam Voigt wrote:
>>
>> > If your running under linux/unix, do:
>> >
>> > chown webuser:webuser /tmp/php
>>
Adam Voigt wrote:
> If your running under linux/unix, do:
>
> chown webuser:webuser /tmp/php
>
> Supplement /tmp/php with whatever upload path you have
> set in your php.ini, and webuser with whatever user your
> webserver runs as.
>
>
>
> On Wed, 2003-05-2
Jason Wong wrote:
> On Wednesday 28 May 2003 20:11, Adnan wrote:
>
>> i have been having trouble working out how to upload an image, the most
>> progress ive made is putting a blank file on the server, but thats it,
>> any suggestions anyone??
>
> If you'
the Browse button to find the file you wish to upload";
echo "";
echo "";
echo "";
echo "";
?>
i am quite new to php, any suggestions would be highly appreciated!
thanks :)
adnan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7 matches
Mail list logo