Sylwester Szady wrote:
Szukam w/g porady ze strony: http://www.slackware.com.pl/porady.php?id_porady=48 zródeł minserv'era np. w pliku miniserv.tar.gz
Niestety jak dotad wyszukiwarki są bezradne.
znalazłem na dysku coś takiego:
/* MINISERV v.01 2001 (c) By Hocus Send Comments to: hocus@dronet.gliwice.pl Poprawki: Tadeusz Gozdek taddy@sys.net.pl */
#include <stdio.h> #include <ctype.h> #include <varargs.h>
#define BUFSIZE 5000
int main() { char buf[BUFSIZE]; int cnt = 0; FILE *f; while ( buf[0] != 13 && buf[0] != 10 && cnt < 100 ) { cnt++; fgets(buf, BUFSIZE-1, stdin); } f = fopen("/usr/local/apache/htdocs/www/off.html", "r"); while ( fgets(buf, BUFSIZE-1, f ) ) printf("%s", buf); return 0; }
-- Aleksander 'A.L.E.C' Machniak http://alec.pl gg-2275252 Lan Management System Developer http://lms.alec.pl
************************************************************** Scanned by eScan Anti-Virus and Content Security Software. Visit http://www.mwti.net for more info on eScan and MailScan. **************************************************************