I am working on my own small database for future clients, and I create a folder called "Forms" to store all my forms for interacting with CMS. Inside the forms folder, I would like to store .php files similar to wordpress plugins, which I can name in the comment code, for example wp, ... i.e.
I am wondering how WP reads this data as it is commented out ... they use file_get_contents ('plugin.php'); and analyze it, and also enable the plugin? Is there a php function to actually read comments?
Thoughts?
source
share