Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

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?