How are files added to a server? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

How are files added to a server?

I want to create a website where I host all of my videos in a particular folder. Do I need to write each individual file name in to my code or is there a less tedious way?

11th Feb 2017, 7:23 PM
Joshua
Joshua - avatar
4 Respostas
+ 5
php can read the folder(s) and create a list of all files found. there are snippets for that on various websites for you to use ;)
11th Feb 2017, 7:26 PM
Mario L.
Mario L. - avatar
0
I agree, by means of PHP and database indexing you can achieve this with a single page.
11th Feb 2017, 7:37 PM
Andre van Rensburg
Andre van Rensburg - avatar
0
1Ć·1=
12th Feb 2017, 2:09 AM
Sil Mok
Sil Mok - avatar
0
what
12th Feb 2017, 2:09 AM
Sil Mok
Sil Mok - avatar