Obtener fichero de un dir con nombre parcial


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $search = '/dir/texto'.$vble."*".'.'."*";
  2. $files = glob($search);
  3. print_r($files);

Report this snippet


Comments


You need to login to view comments.