Read Local Directory and List Files in PHP

Read Local Directory and List Files in PHP

Clever Techie

4 года назад

23,887 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ifraz6
@ifraz6 - 13.06.2022 05:50

Thanks a lot , was searching for this kind of tutorial for very long time.

What if I want it to be clickable and access the folder 📁 and open file 🗃️.

How can I do this kind of thing. Kindly help .

Ответить
@abdelhakim2548
@abdelhakim2548 - 26.03.2022 03:37

much love

Ответить
@jeffreyjansen
@jeffreyjansen - 10.01.2022 21:53

I made an application in which you can upload an image. The name of the imagefile is stored in a mySQL table, along with other info of a user. If the record of that user will be deleted, his imagefile is still in an images-directory. Is there a way to delete such an "orphan-file", for example with the functions mentioned in this (great btw) video? In the past I used "Blob" to store images in a database-table but somehow it doesn't work anymore. Thanks for your excellent video!

Ответить
@abelsedgarsebastian9826
@abelsedgarsebastian9826 - 16.12.2021 17:34

Hi there! It's very well explained. Good Job! What IDE do you use in this video, and which is the Theme of the IDE. What extension do you use to show u as comments what does a function or so?

Ответить
@ibrahimsallieukamara517
@ibrahimsallieukamara517 - 04.06.2021 19:46

Nice tutorial

Please Clever Techie, help for a PHP script that reads script from a remote FTP Server to my server

Urgently needed

Ответить
@nocturnalrules
@nocturnalrules - 21.05.2021 16:33

Nice tutorial. how about accessing that file? on page not only read.

Ответить
@mattarthurclartun7081
@mattarthurclartun7081 - 25.04.2021 00:55

what is your visual studio code theme

Ответить
@alimodz6253
@alimodz6253 - 10.04.2021 19:49

Thanks a lot man, you really helped me :)

Ответить
@bsamual03
@bsamual03 - 25.02.2021 11:37

Will this work on Server? This works on Localhost but not sure if it will work on live online server?

Ответить
@your_utube
@your_utube - 31.12.2020 15:23

Let me just point put a potential bug here:
closedir has to be inside the body of the "if" statement in case the provided localdirectory name is wrong or trying to read from it fails for some reason.
Thanks for the video.

Ответить
@ledo.imanghorbani
@ledo.imanghorbani - 25.12.2020 15:10

thanks

Ответить
@steventyler988
@steventyler988 - 17.09.2020 08:13

Love the first way

Ответить
@Kodeispoetry
@Kodeispoetry - 13.06.2020 09:04

Sir, Knowing is one thing but teaching is very difficult. You have a cult in that area. In the future if possible please make a video on the database back: export and import programmatically through PHP. Thank you for all the great videos.

Ответить
@fynnosullivan4278
@fynnosullivan4278 - 11.06.2020 09:54

r/clevertechie

Ответить
@n71-doc58
@n71-doc58 - 04.06.2020 14:25

try this one Techie=>
$names = array_map(fn($user) => $user -> name, $users); or this => fn(params) => expression

Ответить
@n71-doc58
@n71-doc58 - 04.06.2020 01:13

Thank you sir

Ответить
@Alex_Eicher
@Alex_Eicher - 03.06.2020 22:37

There are different methods, to scan and list a DIR but, witch is the fastes in a big directory?

Ответить
@Jesus-mu4ix
@Jesus-mu4ix - 03.06.2020 22:30

❤️

Ответить
@nonchalant8473
@nonchalant8473 - 03.06.2020 22:26

Great tutorial. Thanks... what are the extensions u r using for php in vs code? is there a live php server like brackets?

Ответить