PHP Tutorial : File Upload (Part 1)

Part 2 : www.youtube.com Part 3 : www.youtube.com Rate, Comment and Subscribe @ youtube.com

Both comments and pings are currently closed.

7 Responses to “PHP Tutorial : File Upload (Part 1)”

  1. FLOOPC says:

    well. it was going great until you started using that localhost/phpmyadmin….

    what is it? when i try typing what you typed into ur URL i get
    ‘Unable to connect
    Firefox can’t establish a connection to the server at localhost

    * The site could be temporarily unavailable or too busy. Try again in a few
    moments.’

    what do i do? im stuck now.

  2. TheFoit says:

    Pleseeeeee here is my error:
    Parse error: syntax error, unexpected T_STRING in /home/a9490936/public_html/JsiteTest/myPHP/fileUpload/upload.php on line 15

    and here is the code on my dreamweaver:
    if($error>0)

    die(“Error uploading file! code $error.);
    else
    {
    if($type == “image/png” || $size > 2000000)
    {
    die(“Format not allowed or file size too big!”);
    }

  3. hdvidsonly says:

    make sure you use ; at the end of you 29th statement

  4. haider07071986 says:

    hi
    this is haider hussain
    i am facing ” Parse error: syntax error, unexpected T_VARIABLE, expecting ‘,’ or ‘;’ in F:\x\xampp\htdocs\process.php on line 29
    ” please tell me what should i do now.

  5. hdvidsonly says:

    make sure ur $_FILES["file"]["size"] is < 10485760.(10 mb MAX)

  6. punxz18 says:

    can you help me? I can’t upload sized larger than 2Mb. i modified the php.ini max upload filesize and max post but nothing is happening. pls help me :(

  7. [...] the original post here: PHP Tutorial : File Upload (Part 1) | PHP Blog Share and [...]