Jump to content

Recommended Posts

Hi guys, i know php works fine on my site as i have fotopholder running fine on it.

 

I'm trying to create an upload script using http://snippets.dzone.com/posts/show/3729 but i keep getting an error, anyone know what this error means and how to solve it?

 

many thanks

 

P.s. ubuntu 6.06LTS and apache2

 

Warning: move_uploaded_file(/var/www/uploads/me.gif) [function.move-uploaded-file]: failed to open stream: No such file or directory in /media/data/forumpix.co.uk/upload.php on line 8

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpfSRbit' to '/var/www/uploads/me.gif' in /media/data/forumpix.co.uk/upload.php on line 8
Upload failed

Here is some more debugging info:Array
(
    [userfile] => Array
        (
            [name] => me.gif
            [type] => image/gif
            [tmp_name] => /tmp/phpfSRbit
            [error] => 0
            [size] => 32658
        )

)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.