HTTP POST and GET

J

Joe

Can you and if you can, how do you access these variables?
Im running on a apache-server/win2000

I guess this is a typical newbee question, but I am a newbee so hopefully
you will bare with me..

Joe
 
J

Janwillem Borleffs

Joe said:
Can you and if you can, how do you access these variables?
Im running on a apache-server/win2000

I guess this is a typical newbee question, but I am a newbee so hopefully
you will bare with me..

Only parameters passed by the GET method is applicable, because when you try
to post to an HTML file with normal permissions, you will get a 'Method not
allowed' error.

These parameters passed by the get method are accessible through the search
property of the location object (location.search).


JW
 
R

Richard Hockey

You will very likely need to use scripts/executables on the server to access
POST variables:

php - $_POST["username"]

ASP (VBscript) - Request.Form("username")

Coldfusion - #Form.username#

The best choice of scripting engine for Apache is PHP, although you can run
both Coldfusion and ASP on Apache servers as well .(Check out the ChiliSoft
ASP module for Apache, ASP::pERL and OpenSA).

php - http://www.php.net

OpenSA - http://www.opensa.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top