Re: Comparing strings... need advice. :)
| From: | Micky Hulse | Date: | Mon, 28 Aug 2006 23:28:32 +0000 |
| Subject: | Re: Comparing strings... need advice. :) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-241164@lists.php.net to get a copy of this message | ||
Wow, thanks for all the great information folks (Stut, Ivo, Rob, and David.)
I really appreciate all of the top-notch advice and expert information. :D
Looks like I have a lot to think about...
Currently, I hard-code the paths to the folders that house the files I want my CMS to edit (via a config file.) The script then iterates through the directory and adds all files of a specific type to a dropdown menu. The user can then choose one of the files to edit and load that file into a textarea... After changes are made, the content/code gets saved back to the same file/location.
I do have an uploads folder, but it is in a different location on the server. I do not allow the user to create new files (I would have to do that manually)... it is a /very/ basic CMS.
Anyway, looks like I have some great info to work with. Thanks again everyone for sharing your expertise.
Much appreciated all. Have an excellent day.
Cheers,
Micky