Uploads System

SGSG wrote 06/24/2016 at 22:47 • 1 min read • Like

Hey my fellow hackers, programmers and tinkerers. I have posted this, because I need help. I would like to create a facebook like, uploads system for my website. I have 2 pages, Videos and Images, that include uploading. Both uploads systems have their own directories, and folders, to separate videos from images and make the embedding proccess for me easier. But I a tired of embedding manually, and I want to write a script that will, embed all images in the directory for uploaded images, on my website's "Images" tab. Same for videos. How do I go about this?



davedarko wrote 09/23/2016 at 22:44 point

I'm presuming you're using php? You might want to start with read_dir -

  Are you sure? yes | no

SG wrote 09/23/2016 at 23:15 point

I wouldnt understand. My php knowledge is next to 0. But thabks for cibtributing anyway! Ma6be check it out?

  Are you sure? yes | no

davedarko wrote 09/24/2016 at 10:11 point

well that's the way to do it dynamically - static HTML won't help you further, so you have to get their programmatically. There are many languages to get what you want - I use PHP, but there are others. There are also APIs for getting youtube playlists etc. which could be interesting for you.

  Are you sure? yes | no