Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.