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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:10:31+00:00 2026-05-15T09:10:31+00:00

Update: As seen in the Original Questions below, I am looking to echo an

  • 0

Update:

As seen in the Original Questions below, I am looking to echo an array.
The problem is that when I send the Moneris gateway to return a POST array to my new file (cart.php) it gets a 500 Internal Server Error.

This is the same error I received when it send to the script, which should have worked.
Is there any reason that it would always send a 500 Internal Server Error?

Cart.php Direct Link

Craig


ORIGINAL QUESTION:

Hello there,

I am back for another question.

Here is my dilemma:

I have a script (ImageFolio Commerce) that hasn’t been updated on our server since.. probably 2003. The script had a Payment Gateway (Moneris) manually added to it by the company who offers the script. This costs $1000 to get them to add a gateway.

I now have a new client who purchased this business from the previous owner. While switching the account to the new owner’s Moneris account, we found out that things have been updated.

Long story short..

The Moneris gateway can send 3 types of responses:

  1. POST with XML Data
  2. POST
  3. GET

I imagine it is easiest to just use the POST array.
I have the file that it sends the response to. As of now the file responds with a Internal Server error, but it does process the order.

What I want to do is determine what the POST array is that is being sent, so that I can take it and echo it in a logical manner. Is there a way to capture and echo the entire POST?

Or can someone suggest a better method of doing this?

Thank you,

Craig

  • 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-15T09:10:32+00:00Added an answer on May 15, 2026 at 9:10 am

    Instead of viewing the POSTed contents server side (as shown in Lizard’s answer), you can also do so client-side…

    The HTTP headers your client is sending can be viewed with tools such as Firebug for Firefox and Chrome.

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

Sidebar

Related Questions

How do you update this? I've never seen any current team that actually checks
How does the code below work? I've never seen an UPDATE done this way.
I'd like to use placeholders as seen in this example: cursor.execute ( UPDATE animal
From all the samples I've seen using NAudio's MeteringSampleProvider to update a VolumeMeter control,
I have frequent updates to a user table that simply sets the last seen
Update: I add a while to get the remain data, problem solved. thanks you
Update: Solved, with code I got it working, see my answer below for the
I have seen some stored procedures that wrap everything in a transaction. begin transaction
This is not academic code or a hypothetical quesiton. The original problem was converting
I'm working on a site that uses ASP.NET Themes. The problem I'm having is

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.