Perl cgi script for validating and updating database couple meets for first time after dating for 5 years

If your processing can be done on the Client machine, you can use a clientside application; for example a Java applet.For processing on the server, one trick that works well for Clients running an X server (and far more efficient than a JAVA solution) is: if ( fork() ) else NOTE: THEIR_DISPLAY is not necessarily the same as REMOTE_HOST or REMOTE_ADDR.This requires care, and can lead to unexpected results.

perl cgi script for validating and updating database-6

You can get some limited information from the environment variables passed to you by the browser. Techniques such as "[email protected]" are not reliable, are widely disliked, and generally serve only to introduce long delays in your CGI.

Relatively few of these are guaranteed to be available, and some may be misleading. Better - as well as more polite - just to ask your users to fill in a form.

Your web server may also not perform a reverse lookup on incoming connections, in which case REMOTE_HOST will contain the IP address even if it has a corresponding IP name.

In the second case, you can do a reverse lookup yourself in your script, but this is expensive and should probably be avoided unless absolutely necessary.

If it works with *your* browser, you should upgrade!

[UNIX] You have to fork/spawn the long-running process.[1] At the time of writing, only Netscape 2 supported frames, and some authors considered them koool.That's changed, but the same general principle still holds. By all means use it to collect partial statistics if you participate in (say) an advertising banner scheme.*sigh* Many people keep mailing me questions or suggested hacks to get visitor information, particularly email addresses. The bottom line is that whatever information is available to _you_ is _equally_ available to every spammer on the net.Therefore when a browser bug _does_ permit personal data to be collected, it gets reported and fixed very quickly (one short-lived Netscape 2.0.x release reportedly had such a bug in its Javascript engine). The best information available is the REMOTE_ADDR and REMOTE_HOST, which tell you nothing about the user.The important thing to remember is to close all its file descriptors; otherwise nothing will be returned to the browser until it's finished.