PHP Tutorials // File Upload (Part 2/8)
Loading...
5,692
Loading...
Uploader Comments (basixnick)
see all
All Comments (31)
-
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...
nice
jnrxify 1 year ago
@jnrxify thanks
basixnick 1 year ago
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 1 year ago
@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.
basixnick 1 year ago
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 1 year ago
@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
basixnick 1 year ago