Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- program PascalCGITest;
- const
- EOL = #13#10; // new line char
- begin
- // new line character MUST be explicit
- writeln('content-type: text/html;',EOL);
- writeln('<!doctype html>');
- // HTML content here
- writeln('<html><body><h1>My pascal script works!</h1></body></html>');
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement