Added: 2 years ago
From: basixnick
Views: 5,715
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

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:)

  • nice

  • @jnrxify thanks

  • 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

  • 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.

  • don't worry i figure it out , i had to check all vid again

    thanx

  • i get this error , a fter i upload a file whats wrong,

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource on index file on line 53

  • 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

  • Comment removed

  • hi mate, i tried to upload a video just to see that it dosent work but im getting error messages. would you know why. thanks

  • what are the errors you are getting?

  • undefined variable: type this is type variable that you declined for the type of the file for the image.

    any samll files like 4MB and 5MB upload ok, and there are no error messages but for files which are like 8MB it return the error as stated above (undefined variable: type)

  • thats weird i will take a look and post a video on how to fix

  • thanks dude that would be great! awesome videos btw keep it up!! A+

  • i took a look and i tried uploading files very small and kept increasing the size i didnt get a problem until i hit about 200 mb and even then it was an error saying the file was too big

  • its very nice video but plz tell me that if i upload suppose a .doc file then how can i download the file i mean its code..plz help me

  • thats is actually a really good idea for a video. i will make a video this weekend on how to code a download section after you have uploaded a file.

  • thanx buddy i will wait but plz add dynamic link generation from database for download..that woud be gr8

  • thanks alot!!! but can you explain what a can do if i want my images upload with the original name

    Thank in advance

  • i explained that in the video go to about 4:50 in the video and the move_uploaded_files code is what you want.

  • thanks alot mate it was really helpful....job well done !!!

  • nice, clear, and easy to follow... thanks

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