TobakstopDK Posted April 17, 2014 Share Posted April 17, 2014 Hi. I have just downloaded a module to help me get track of dublicated URL´s and that module want´s me to merge 2 .PHP documents. How the he.. do I do that? I incluede both .PHP files here. Hopefully one of you clever guys can help me out and tell me how to. I haven´t edited .PHP files before. Thanks Michael FrontControllerORG.PHP FrontControllerPRESTO.php Quote Link to comment https://forums.phpfreaks.com/topic/287838-merge-2-php-files-in-1/ Share on other sites More sharing options...
dalecosp Posted April 17, 2014 Share Posted April 17, 2014 Possibly the simplest thing to do would be add a line like: require_once("FrontControllerPRESTO.php"); to the file "FrontControllerORG.PHP".Of course, that might not work; it depends on the contents of the files. But it does accomplish a "merge", more or less, in general terms. Quote Link to comment https://forums.phpfreaks.com/topic/287838-merge-2-php-files-in-1/#findComment-1476548 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.