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-28 at 12:33, Adnan wrote: >> 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're wanting to do HTTP uploads then manual > Handling file >> > uploads tells you all you need to know. Note that the FTP stuff are >> > completely unrelated. >> > >> >> Basically, im trying to upload a file to the server it isnt a big issue >> on how its done, i have tried all sorts of different ways, i havent had >> any luck, when i tried to upload with http i got something like cant >> create /tmp/php/php....... >> >> any ideas? >> >> thanks for your help :) >> >> adnan
just did that, and did a print_r($_FILES); and this is what i got Array ( [imagefile] => Array ( [name] => photo.jpg [type] => image/jpeg [tmp_name] => /tmp/php/ phpBEzrql [error] => 0 [size] => 35532 ) ) thanks for your help :) adnan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php