ICPP Web Suite

Three small sites, each one a worked example you can edit and reload. The server that sent this page is iwebserver; the page itself was produced by ICPP while you waited.

Built for you at ", $when, ".

"); ?>

The examples

1. The page is the program

Printing, loops, your own functions, and the string builtins — the shape of every ICPP page.

Open it →

2. Three languages, nothing installed

Python, Java and JSON inside one ordinary .html file, sharing their values. No Python, no JVM.

Open it →

3. A form the server answers

Reading what a visitor typed, and the one call that stands between you and a cross-site scripting hole.

Open it →

Editing them

The files are in the sites directory where this package was installed. Change one, save, reload the page — there is no build step and nothing to restart. A page that fails to compile says so in the browser, with the line number.

Two file kinds are in play, and the difference matters:

namewhat happens
*.icpp.htmlthe <?icpp ?> blocks run on the server
*.htmlserved as it is — unless page scripts are on for that directory, when python/java/json blocks run too

The manuals