Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

PHP image upload

Name: Anonymous 2007-06-06 8:03 ID:bGRbOOvu

So I'm trying out this: http://lv.php.net/manual/en/features.file-upload.php

Almost as it is, just changed the upload dir to correct one and gave it 777 in chmod.

I have two files, one contains that html form the other one php code.

But instead of correct file upload I get this:
Possible file upload attack!
Here is some more debugging info:Array
(
    [userfile] => Array
        (
            [name] => 4chan.jpg
            [type] =>
            [tmp_name] =>
            [error] => 2
            [size] => 0
        )

)

Name: Anonymous 2007-06-06 9:05 ID:bGRbOOvu

>>4
Damn, how much I hate this stuff in programming, to get to the point - max file size was too small and that's it! Geez...

Thanks for the tip on chmod, Anon!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List