Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

PHP Tutorials // File Upload (Part 2/8)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,692
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 10, 2010

In this video tutorial I show you how to make a file upload script using php code and a html form.

Download Source Code:
http://www.nickfrosty.com/downloads

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (basixnick)

  • nice

  • @jnrxify thanks

  • hi i used you script it's is pretty cool,but i wanted to be able to upload then visitor can search the name or description of file on my

    on my database then be able to download, i was be able to file the script for searching the database,but can you help on downloading part

    thank you

  • @lilabrowns i am currently working on a complete tutorial series on how to make a complete file upload/download site. and the thing that you want (the search feature) will be implemented into the full upload/download site.

  • and if i want it for any file how i do this?

    Can you make 1 php page already config for any file and connect to a ftp server

    i want a php page i only need to change the ftp info and its done for me cause im a noob at php that so hard XD

  • @hesawisa ok, to make it so you can upload any file with the code, all you have to do is completely remove the if statement that checks to make sure the file is an image...

    so you need to delete if (strstr($type, "image")) { and } else echo "That is not an image.$form";

    make sure you remove every thing or you will get errors!

    also you don't need to connect to any servers with this script, the script only uploads the selected file to the server. so no ftp or server info is needed

see all

All Comments (31)

Sign In or Sign Up now to post a comment!
  • I keep getting error: unexpected $end

  • thanks nice tutorial, please tell how facebook stores images.. in Database or in server directory??

  • unlimitedupload . clanteam . com

    Tell me If U want the codes

    * manager

    * uploader

    * deleter

  • Nice.,!!

  • Thank you for this Line!

    move_uploaded_file($tmpname, "video/".$video_code.$ext);

    The PHP work is now finish. I has to code only a flv converter in c++.

  • nice ty:)

  • Okey , i will be waiting, and can you add sql file for the tables on the source files so it can be easy to add the table by just uploading the sql file,coz it was confusing for me you started with four tables then you end up with six.COZ  I WAS SKIPPIN' THE VIDS

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more