|
simster, this is quite possibly one of the least secure things I've ever encountered. You want your users to be able to include whatever text file from your server that they want to?
You need to do some type of authentication against allowed values in a database or pre-written array or something. I can't stress enough that this method is dangerous. Plus, posting here that you can arbitrarily include files from your server is not helping your cause.
__________________
Plugin-Developer.com - Custom plugin development to fit your needs. Plugins available for WordPress and Drupal, among others.
|