troubleshooting Question

PHP $_POST vs asp request

Avatar of robrodp
robrodpFlag for Mexico asked on
4 Comments1 Solution362 ViewsLast Modified:
I run the rhe client program (a credit card processor)  and run simple scripts to return the values it posts
and PHP works.. not asp.

I have no access to the posting script/program

With php I use $_POST to retrieve the data

$reference_sale = $_POST["reference_sale"];
$reference_pol= $_POST["reference_pol"];

Great values are there

But in asp

reference_sale = request("reference_sale")
reference_pol= request("reference_pol")

They all return an empty value (same with request.form and request.querystring)

I just call the client program (a credit card processor and run simple scripts to return the values
and PHP works.. not asp.

Now is ther a way to bring all the posted data in asp and parse it?

Or some other solution I tried to get the data with PHP and redirect it to the asp script (with GET) and it works fine when ran as standalone but in the client environment the values are lost


IPS  know php  $_POST and asp request are supposed to be fully equivalente but equivalent but it just doesn't work.

Any ideas?
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros