CGI

Honza Pazdziora adelton at fi.muni.cz
Fri Aug 6 15:22:54 CEST 1999


On 6 Aug 1999 12:31:13 +0200, Jan Sembera <jsembera at atlas.cz> wrote:
> Dobry den,
> mam dotaz: Jak se da spustit nejaky program z CGI skriptu (napriklad
> nejaky filtr apod.) ??? A pokud ho spustim, kam bude smerovan jeho

Normalne ho spustite:

	#!/bin/sh
	echo Content-Type: text/plain
	echo
	date

> standartni vystup??

Na standardni vystup programu, ktery ho pustil, pokud ovsem
presmerovanim nereknete jinak.

	#!/bin/sh
	echo Content-Type: text/plain
	echo
	date > /dev/null
	echo Nic.

PS: Je opravdu nutne pouzivat charset 1250, za situace, kdy ve Vasem
prispevku neni ani jeden znak nad 127?

--
------------------------------------------------------------------------
 Honza Pazdziora | adelton at fi.muni.cz | http://www.fi.muni.cz/~adelton/
 make vmlinux.exe			-- SGI Visual Workstation Howto
Any spam sent to my email will be rewarded by complaint to your ISP abuse
  team and abuse teams of servers that relayed that message. It works.



More information about the net mailing list