+ 6
🔸️How to prepare a list of hyperlinks for the text files in a some directory using PHP glob () ??
4 Respuestas
+ 16
$arr=glob('*.txt');
foreach($arr as $file){
echo "<a href=".realpath($file)."> $file</a>"
}
+ 4
foreach (glob(*.txt) as $file { echo $file }
0
mom
0
mom