aus "sundawn.net"

ZAPSnippets: Logging

Here's a useful example of how to create various kinds of logs using the Edit command. This one logs simple information about each user who clicks the button. It could easily be added to a login form or register form. Many other edit options are possible. Also other SERVER variables are possible including host, ip, secure, browser, return, etc.

Note the *sort command not only alphabetizes the log, but removes any duplicate entries.

Go ahead, give it a try!

TRY THE CODE:

(:zapform:) (:zap editbody=" Tue May 13 00:16:40 2025":) (:zap edit="Demo-Log.Names({button})":) (:zapend:)

LOG RECORD:

URL: https://www.sundawn.net/ZAPSnippets/Logging
Zuletzt geändert am 13.04.2007 11:30 Uhr