I have many php files, and I want to merge all the files in one file. All files come with parameters if a certain file matches the parameter, then that file should be executed, otherwise.
This is not working please help me.
To include a dictionary on the file, at the top of the "merged" file, and With each record in the array of parameter names on that page, compare these to $ _GET (or worth $ _REQUEST), and include & amp; Break when you get a match. Array ("first_name", "last_name"), "edit_post.php" = & gt; array ("post_id")
$ page_parameters = array ("person_search.php" => ); Forex Currency ($ page_parameters as $ page = & gt; $ parameter) {if ($ parameters == array_keys ($ _ GET)) {$ page included; break; }} In this example, if ? First_name = bill & amp; If a request comes with last_name = wilson , then this person will be near person_search.php, and if it is ? Post_id = 3121 , it will be sent to edit_post.php .
Comments
Post a Comment