RE: [PHP] auto submit

From: Date: Wed, 03 Apr 2002 20:28:18 +0000
Subject: RE: [PHP] auto submit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91392@lists.php.net to get a copy of this message
Yes, An idea I'd love to throw up here would be not letting the user know you're spying him: Make a Java Script function (yes, you will need JavaScript for that) that has timeout every 10 seconds. Use JS unction escape() and read the field values of your form assigning them to the JS variables after what, load a graphic with the JS vars passed in the IMG SRC link each 10 seconds passed. Your graphic will actually be a PHP script that records the data and does all kind of grows things, yet outputs just some silly image headers. This sway user has no clue (or almost) that what he's typing in your form you're already being collecting, even so he pressed no submit buttons yet. I made an intranet editor that had this failure-free feature similar to MS Word. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) maxim@phpbeginner.com www.phpbeginner.com > -----Original Message----- > From: Martin Kampherbeek [mailto:m.kampherbeek@home.nl] > Sent: Wednesday, April 03, 2002 11:23 AM > To: php-general@lists.php.net > Subject: [PHP] auto submit > > Is the folowing possible to do? > > I fill in a form and press submit. > Then I read a record from a database. With this data it submits to the read submits > url. After 10 seconds, it reads the next record and submits that data. etc etc > > So I don't have to push submit each time I want to submit. After 10 seconds it read > the next record and submits again. > > Could this be done? So yes, how? >

« previous php.general (#91392) next »