php-general Digest 27 May 2013 16:52:48 - Issue 8248
Topics (messages 321215 through 321216):
Re: Can javascript or php help with this
321215 by: dealTek
Re: iterate javascript verification
321216 by: Tim Dunphy
Administrivia:
To subscribe to the digest, e-mail:
Hey guys,
Thanks for the input! This is pretty nice, and DOES work. I like the fact
that the fields have been into an iterative array. It's a very elegant
solution. However the problem with this approach is that if you load the
page directly it works. But if you call the page from the index.php
When you do validation of the form in the same script that shows the
form, the normal way to do this is
?php
if (isset($_POST['submit'])) {
//
// validation here
//
}
?
This won't work if you're getting to the page via another form, since
the $_POST['submit'] is set. There two ways of
Sounds good! Thanks Ken. Very clear now.
Tim
Sent from my iPhone
On May 27, 2013, at 1:57 PM, Ken Robinson kenrb...@rbnsn.com wrote:
When you do validation of the form in the same script that shows the form,
the normal way to do this is
?php
if (isset($_POST['submit'])) {
//
//
I'm trying to increase the connection timeout; but can't get it to work. Note:
Keep-Alive gets repeated.
I'm using:
header(Connection: Keep-Alive);
header(Keep-Alive: timeout=9, max=100);
I get:
(Status-Line) HTTP/1.1 200 OK
DateMon, 27 May 2013 20:19:54 GMT
Server Apache
Connection
2013/5/27 Al n...@ridersite.org
I'm trying to increase the connection timeout; but can't get it to work.
Note: Keep-Alive gets repeated.
I'm using:
header(Connection: Keep-Alive);
header(Keep-Alive: timeout=9, max=100);
Set the second optional argument to true
See
6 matches
Mail list logo