Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 431861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:01:01+00:00 2026-05-12T20:01:01+00:00

I got two projects running, both written in PHP. Now I want to merge

  • 0

I got two projects running, both written in PHP. Now I want to merge these two projects. The first project is a CMS and on a specific page i will display the contents of the other project / application. I don’t want the first project to know about, or get access to, the variables and functions in the other and vice versa. So i just want the CMS, the first project, to receive the contents of output of the other project.

I don’t want to make another http-request – using get_file_contents or cURL because of load-time. I find passthru() and system() hard to get working, but if that is a possibility, please teach me the way.

I also need to pass some variables from the first project to the other on execution, controller_id and model_id.

Thanks in advance!

EDIT:
Iframes and load via javascript is not an option in consideration of accessability guidelines.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T20:01:01+00:00Added an answer on May 12, 2026 at 8:01 pm

    You have several options you already discarded:

    • server side integration at code level (include, etc…)
    • server side integration via curl

    You should therefore probably rely on client-side integration:

    • load content via AJAX (best option for me): see Jquery load function, for example. You can pass any parameters, and data, and everything should work
    • load content via iframes
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got two Django projects on the same server. The first launched several months
I've got two Silverlight Controls in my project, both have properties TeamId. I would
I've got two Java projects, both generate Java classes based on a schema definition,
I've got two models: Message and Attachment. Each attachment is attached to a specific
I've got two SVN branches (eg development and stable) and want to switch from
I've got two arrays of the same size. I'd like to merge the two
Given demo solution with two VSX-projects: 1. Add New Project -> Extensibility -> Item
I've got a Windows 7 machine upon which I do both PHP/MySql Dev, and
I've got two applications (app1 and app2) in my django project. I'm curious if
We've got two developers on the same closed (ugh, stupid gov) network, Another developer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.