nph-replace.pl

Demonstration of the multipart/x-mixed-replace content type.

Description

If you have always wondered how to have a CGI output some virtual HTML then think for a while and output more virtual HTML which replaces that page, now you know. This technique is also used in wapriori-lib.pl on this site.

For more information see:
ftp://ftp.ind.net/pub/nic/rfc/rfc1806.txt
ftp://ftp.ind.net/pub/nic/rfc/rfc1521.txt

Bewley Internet Solutions perl page