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 6550073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:10:19+00:00 2026-05-25T12:10:19+00:00

Scenario: I have two apache web servers with individual address. Say www.server1.com and www.server2.com.

  • 0

Scenario:
I have two apache web servers with individual address. Say http://www.server1.com and http://www.server2.com.

For example: if a user login into server1.com and fill in a form and that transfers some information to server2.com and redirects him to server2.com

Real life example: Merchant websites which redirects users to payment gate way. and data transferred to gateway server is the amount to be paid. After payment the gateway server sends the transaction id to merchant website and redirect user back.


My Question:
how does server1.com sends a http request from that server to server2.com . and that request can be GET or POST whatever that i describe. and it should be invisible to the user.

Note: Server i use is ubuntu. I have full access to the server, if any modules to be installed no problem. Code i use is PHP.

  • 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-25T12:10:20+00:00Added an answer on May 25, 2026 at 12:10 pm

    The webservers don’t do the connections. It’s the PHP code that does so. The standard methods is to use CURL. However, in some cases, the form that was served up server1 might actually just submit directly to server2. It all depends on the merchant’s payment setup.

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

Sidebar

Related Questions

Here's my scenario: I have two web applications that are hosted on seperate servers.
Scenario: Let's say I have two tables, TableA and TableB. TableB's primary key is
Ok, i have simple scenario: have two pages: login and welcome pages. im using
Scenario I have two wrappers around Microsoft Office, one for 2003 and one for
Scenario I have two WCF Services combined in a single App.Config file. I can't
Here is the scenario: I have two asp pages. a.aspx is layout and b.aspx
I have scenario, I have two update panels on the page (both have update
Scenario I have an TWO datbase tables of exactly the SAME STRUCTURE. The difference
The scenario is I have two div s: one is where I select items
The scenario is this We have two applications A and B, both which are

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.