Jump to content

file exist


desithugg

Recommended Posts

umm i have a list of picture names

example

$list = "1.png,2.png,dffd.png,3434.png,32245.png,456.png";

now what I want to do is seperate the list and check if each file exists

like

if (file_exists($list)) {
//if it exists i want it to echo <option value='$list'>$list</a>
}

is that possiable to have the script run a loop or something? any sujjestions what functions or where i should look

Link to comment
https://forums.phpfreaks.com/topic/39088-file-exist/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.