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 pa
When you do validation of the form in the same script that shows the
form, the normal way to do this is
This won't work if you're getting to the page via another form, since
the $_POST['submit'] is set. There two ways of avoiding this:
1) use hidden fields in each form to indicate which for
Sounds good! Thanks Ken. Very clear now.
Tim
Sent from my iPhone
On May 27, 2013, at 1:57 PM, Ken Robinson wrote:
> When you do validation of the form in the same script that shows the form,
> the normal way to do this is
>
>if (isset($_POST['submit'])) {
> //
> // validation here
> //
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
> 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 http://de.php.net/manual/en/fu
5 matches
Mail list logo