• Wednesday , 13 December 2017

[HD] PHP Tutorial : Image Upload (MySQL) Part 2

Code Canyon

Original source

3d Ocean

Related Posts

30 Comments

  1. rot meas
    September 11, 2017 at 13:43

    Thank you for you teach

  2. Sandra Adriana Enciso Ríos
    September 11, 2017 at 13:43

    thanks 🙂

  3. སམིཡའནངཕོ སམིངརི
    September 11, 2017 at 13:43

    you are the great sir. thanks alot for such free help to peoples like me

  4. Ahmad Ozor
    September 11, 2017 at 13:43

    thanks a lot …perfect

  5. esfilmz
    September 11, 2017 at 13:43

    TO EVERYONE WHO WANTS TO SAVE IN DATABASE: JUST INSERT THE PATH OF THE PHOTO IN THE DATABASE, ECHO IT BACK OUT IN A IMG TAG WITH THE SOURCE EQUALING THE DATABASE ROW

  6. Navid Ghorbanzadeh
    September 11, 2017 at 13:43

    Great stuff – thanks!

  7. Chahid Ksabi Yassine
    September 11, 2017 at 13:43

    thx a lot 🙂

  8. Nejar Shrestha
    September 11, 2017 at 13:43

    excellent explaining…. can u put the video for retriving that uploaded file?? plzzz

  9. Ichigo Kurosaki
    September 11, 2017 at 13:43

    Great! It works! 🙂 

    But I am not contented. How can I store image in phpmyadmin!

  10. محمد العراقي
    September 11, 2017 at 13:43

    can I have the the files you made ,please?

  11. Bijender singh shekhawat
    September 11, 2017 at 13:43

    thanx bro…

  12. Alfie Driver
    September 11, 2017 at 13:43

    This does say MySQL, no MySQL used at all!

  13. uradamnfool2
    September 11, 2017 at 13:43

    You sir are a GENIUS! The tutorial was easy to follow and worked great

  14. bujashaka
    September 11, 2017 at 13:43

    finfo is the way to go.

  15. benton202
    September 11, 2017 at 13:43

    Help! how do you add text along with an image ( and the image file path) to the database from same form?

  16. Mark Anthony Baranggan
    September 11, 2017 at 13:43

    WOW!!! that's so informative… to those who expects mySQL, its actually a tutorial on how to save image to your server. the thing here is that you submitted it online, all you have to do is to add your query on the execution, example: save the image name on a column in your database.. so in summary, u did not saved it in database, u just use it's name to call it… Take note to use the function strtolower() on php to avoid data error… thank you anyway…

  17. Matthew Carthy
    September 11, 2017 at 13:43

    Thanks for that 🙂

  18. Kalyan Halder
    September 11, 2017 at 13:43

    good

  19. Shane McCarthy
    September 11, 2017 at 13:43

    Thanks for the tutorial! Very Helpful!

  20. muhammedan obinay
    September 11, 2017 at 13:43

    nice tutorial my friend…. thank you for this..

  21. Harray Docdag
    September 11, 2017 at 13:43

    Excuse me, when implemented into a website to be like what? do we have to have its own server?
    thank you before

  22. Khaled Shehata
    September 11, 2017 at 13:43

    thanks!

  23. giacomo medici
    September 11, 2017 at 13:43

    great stuff – thanks!

  24. Varsh
    September 11, 2017 at 13:43

    …then store the real name for when the file is to be downloaded (for reference).

    This is a very very good tutorial and is pretty much all is needed to get going at least. Yes it lacked the final final part for MySQL but if you know how to add data to MySQL then you'll be sorted with this tutorial.

    As for the uploaded folders, you will need to create that on the server yourself and reference it in your code. Check the part in the video where it says "move_uploaded_file". "uploaded/" is it.

  25. Varsh
    September 11, 2017 at 13:43

    If it's just a few files in MySQL then that's fine to add to MySQL but in all honesty I'd only store the file information in the database. In order to do that the variables already stored at the start of this video is all that's needed.

    The part where the file is uploaded, you take the $name, $size, or other info you need and INSERT it into your database at the same time.

    Personally I'd hash the temp filenames for security reasons and use that as the actual uploaded filename…

  26. suasssh
    September 11, 2017 at 13:43

    how about the MYSQL, storing images in phpmyadmin, how is it?

  27. Daniel Teixeira
    September 11, 2017 at 13:43

    why it say my sql if you dont use it

  28. abd
    September 11, 2017 at 13:43

    @Frostedcreek D'nt be confused my friend, R u understand?

  29. Frostedcreek
    September 11, 2017 at 13:43

    Where is the uploaded folder going to be is it a directory on my ftp?

  30. Frostedcreek
    September 11, 2017 at 13:43

    what is the temporary directory called? On fillazilla my temporary directory is a folder called uploads.. Just a little confused

Leave A Comment

You must be logged in to post a comment.