Hacker News new | ask | show | jobs
by flushandforget 3530 days ago
Many CGI scripts were coded like this.

Here is an example in C: https://www.cs.tut.fi/~jkorpela/forms/cgic.html

Php was born out of trying to reduce a lot of that cruft and blending code and html output easily. And that's what initially made it a winner.