Jump to content

Merge 2 .PHP files in 1?


TobakstopDK

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/287838-merge-2-php-files-in-1/
Share on other sites

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.