× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Always use POST when receiving a username and password

Kevin Schroeder
Technology Evangelist
Zend Technologies, Ltd.
www.zend.com
www.twitter.com/kpschrade
www.eschrade.com



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Glenn Hopwood
Sent: Wednesday, February 16, 2011 2:12 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Input Form ? to use ODBC_CONNECT with parms.

The following link explains it better then I could.
http://www.w3schools.com/php/php_get.asp

...or you can use the POST method.
http://www.w3schools.com/php/php_post.asp

I prefer to use POST.

Glenn

On 2/16/2011 2:41 PM, Jack Kingsley wrote:
Ok, I am trying to find a way to desing an INPUT form .PHP to pass parms to
my other coded .PHP script. Does anyone have a working example of something
like this. I have a working backend .php hard coded with the values that
works with no problem(s). Now I am trying to get it where I can front-end
with a form and pass the parms to the script.

Here is my form:

html>

<head>

<title>TEST</title>

</head>

<body>

<form action="rmtboxinfo1.php" method="get">

Server :<input type="text" name="server" value=""></input>

Login :<input type="text" name="login" size=10 maxlength=10
value=""></input>

Password :<input type="text" name="password" size=10 maxlength=10
value=""></input>

<input type="submit" name="sumbit" value="Submit me!"></input>

</form>

</body>

</html>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.