#include "webkit.ch"
FUNCTION fswkmain (aCGIData)
LOCAL_INT i
BEGIN HTML OUTPUT "Forms input bounceback"
WRITE HTML OUTPUT "Here are the contents of your CGI form:"
FOR i := 1 UPTO LEN (aCGIData)
WRITE HTML OUTPUT "Field: ", aCGIData[i,1], " Value: ", aCGIData[i,2]
NEXT
END HTML OUTPUT
RETURN NIL
For further examples, check out example*.prg in the /usr/local/webkit/examples directory. (Webkit's own web page runs on a SunOS system, to which Webkit itself has not been ported. Sorry, no live demos yet.)
Next: License, Warranty, Support, Etc.
Previous: Auxiliary HTML Functions
Webkit Index