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

  • SEARCH
  • Home
  • 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 8411835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:31:31+00:00 2026-06-10T00:31:31+00:00

Newbie question. I have a project that need to access other web database using

  • 0

Newbie question. I have a project that need to access other web database using PHP. Is it possible?

for example:
I have a domain http://www.domain1.com with database1 and I have another domain http://www.domain2.com with database2 with different hosting. Can I access database1 from http://www.domain2.com which is also using database2?

Is it possible if it is the same hosting with 2 different domain?

  • 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-06-10T00:31:33+00:00Added an answer on June 10, 2026 at 12:31 am

    You can connect to as many databases as many your application requires.

    Get started with:

    http://dev.mysql.com/doc/refman/5.0/en/connecting.html

    Make sure port of domain2 allows authentication from domain1 (or you can keep it open for all, NOT RECOMMENDED).

    If you are saying about JOINING databases then, so far I have worked on many projects where we had multiple databases on same server. So HOST was not an issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a newbie Linux programming question. Suppose I have a project that uses
Newbie question. I have Django models that look like this: class Video(models.Model): uploaded_by =
MVC newbie question re binders. Supposing I have two strongly typed partial actions that
This is a real newbie question. I have simple app that selects a picture
I'm new to web development and for my first project I have a need
Newbie question... I have a working console app that uses a shared unit I
Newbie question. I have two c# classes - a code class (say, CodeClass) and
I have a newbie question about integrating two iOS apps. I have created an
Newbie question... The objective: I intend to have an HTML text input field as
I have a newbie question regarding when to release the elements of a NSArray.

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.