Odgovori: Re: screen size...

2004-11-05 Thread lfurlan
Easier and shorter way: script type=text/javascript document.write(Screen resolution: + screen.width + X + screen.height) /script enjoy, Luka Od: Chasecreek Systemhouse [EMAIL PROTECTED] Datum: 2004/11/05 Pet AM 02:27:46 CET Za:

re: How to display a Text file using web browser under CGI

2004-08-14 Thread lfurlan
Hello! An example would look like this: #!/usr/bin/perl -w use strict; use CGI qw(:standard); my $file_loc = bla; my @file; if (open(FILE, $file_loc)) { @file = FILE; print header; print start_html(); print pre@file/pre; close (FILE); print end_html(); } else { print header;