Jump to content

[SOLVED] Trying to find an easier way?


networkthis

Recommended Posts

There must be an easier way to do this???  I am basically trying to create a list of folder names that I don't want to be deleted.  Is there a way to do this that would be more simple?  This part of the code can become very large very quick with many folder names..........

 

Your help is greatly appreciated.

<?php 

if($stripFolderName == "foder1" || $stripFolder == "folder2" || $stripFolder == "folder3")

{

echo "You do not have permission to Remove this folder";

}


?>

Link to comment
https://forums.phpfreaks.com/topic/124076-solved-trying-to-find-an-easier-way/
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.