Home « Server software «
Documentation: query.php
query.php - Send a query
This script is to be used by anybody, including anonymous surfers, to submit a query to the webmaster.What it actually does is to post an article into the '
queries
' section.
Therefore, queries are ordinary articles to be handled by associates.On query submission:
- The web page displayed to the surfer displays a special link to bookmark the query page.
- An e-mail message is sent to the form submitter, for further reference
- A message is logged, site admins being notified of the query by e-mail
For anonymous surfers, some user data is saved inside the page itself, including:
- surfer name
- surfer mail address
On subsequent access to the query page, using page handle, these data is restored to surfer environment. With this setup, anonymous surfers may interact with a given web page without registering first.
YACS attempts to stop robots by generating a random string and by asking user to type it.
The edition time is not limited at all. Some Javascript code polls the server in the background to ensure that session data is not lost during all the time the browser window is opened.
This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com