filmov
tv
Quick Php Directory Programming in 11 minutes

Показать описание
Hello,
In this lesson, I will explain how to apply the dir, scandir and getcwd in php. Within 11 minutes you will digest the functionality of these commands. This is to show, that Php is a powerful desktop programming tool to crunch the content of your directory.
Salient parts of the topic::
1. Use the "scandir" and display it using the "print_r" command. The print_r command is use to display the data or variable into a readable human form.
2. Apply the "dir" and "getcwd" functions to manifest the current path/folder and list of files.
3. Use the "dir" handle like read inside the while statement to display the files.
Note* Please activate your apache server to run your php program.
Please watch my php lessons
Please like, share and subscribe.
Happy Php day!
In this lesson, I will explain how to apply the dir, scandir and getcwd in php. Within 11 minutes you will digest the functionality of these commands. This is to show, that Php is a powerful desktop programming tool to crunch the content of your directory.
Salient parts of the topic::
1. Use the "scandir" and display it using the "print_r" command. The print_r command is use to display the data or variable into a readable human form.
2. Apply the "dir" and "getcwd" functions to manifest the current path/folder and list of files.
3. Use the "dir" handle like read inside the while statement to display the files.
Note* Please activate your apache server to run your php program.
Please watch my php lessons
Please like, share and subscribe.
Happy Php day!