[PHP] Re: Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adnan
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

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adnan
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

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adnan
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 >>

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adnan
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 >>

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adnan
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

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adnan
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'

[PHP] Trouble With FTP_PUT Please Help!

2003-05-28 Thread Adnan
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