By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,382 Members | 1,631 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,382 IT Pros & Developers. It's quick & easy.

HTTP POST and GET

P: n/a
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
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Joe" <am***********@hotmail.com> schreef in bericht
news:3f***********************@dread11.news.tele.d k...
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

Jul 20 '05 #2

P: n/a
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

"Joe" <am***********@hotmail.com> wrote in message
news:3f***********************@dread11.news.tele.d k...
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

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.