Re: Can a script run twice?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Is the 'Add Ticket' button a GET or POST request? If it's a POST then
> chances are the script itself has a logic error since the user would get
> asked if they wanted to repost the data. If it's a get then you've
> violated one of the cardinal rules of web-based application development
> - GETs get, POSTs do.

<a class="button" accesskey="A" href="ticketaddserve.php?enqno=0">Add
Ticket</a>

Just change enqno= for a different queue.

Found the simple answer - Double click - two records !



Like the previous poster says, GET requests should not "put, they
should only "get". Use POST to write to the database.

--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux