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 Wed, 2003-05-28 at 12:58, Adnan wrote:
>> Adam Voigt wrote:
>>
>> > Hmm, what'
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 Wed, 2003-05-28 at 12:58, Adnan wrote:
> Adam Voigt wrote:
>
> > Hmm, what's the exact error message you get?
> >
>
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
>> >
>> > Supplement /tmp/php with whatever upload path you have
>> > se
Call me an optimist but if you don't get any error's, that
usually means it worked. You do know that the uploaded file
is erased when the page ends right?
You have to use a call to move_uploaded_file to actually
put it somewhere on the file system.
On Wed, 2003-05-28 at 12:53, Adnan wrote:
> Ada
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
>> >
>> > Supplement /tmp/php with whatever upload path you have
>> > se
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
> >
> > Supplement /tmp/php with whatever upload path you have
> > set in your php.ini, and webuser with
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 Wo
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
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
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
Hi,
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??
Im using PHP 4.3.2, Apache 1.3.27
here is the code im using!
photoposted.php
postphoto.php
";
echo "Click the Browse bu
11 matches
Mail list logo