[SOLVED] PHP file_exists complex! - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: [SOLVED] PHP file_exists complex! (/showthread.php?tid=94223) [SOLVED] PHP file_exists complex! by prashker on 03-27-2010 at 04:34 PM
Folder Structure php code: In my mind, I am expecting an output of Back.To.The.Future exists in /home/admin/Downloads/Downloading/ and Forward.To.The.Past exists in /home/admin/Downloads/ What I want to add to this code is the following If $name does not exist in ANY of the $monitor folders, $delete[] = $name; In which case, $delete[0] would be NonExistingFolder RE: PHP file_exists complex! by Mnjul on 03-27-2010 at 04:48 PM
php code: Dunno if it works, please try RE: PHP file_exists complex! by prashker on 03-27-2010 at 05:30 PM
php code: That's what the actual format is for a $release[], so I'm not sure how array_flip will work, I assume extra work will be needed () The code works, all that needs to be done is a proper flip RE: PHP file_exists complex! by Mnjul on 03-27-2010 at 06:20 PM
quote:I'll take that as "Please do it for me" Maybe the following lines replacing the array_flip line would work. php code: RE: PHP file_exists complex! by prashker on 03-27-2010 at 07:11 PM
|