Re: A little help with uptime.

2002-12-07 Thread Octavian Rasnita
1. You have 2 "#" signs in the shebang line. 2. If you want to print anything in a browser, you have to print a text/html content type before printing anything, sso put the following line before: print "Content-type: text/html\n\n"; Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTE

A little help with uptime.

2002-12-07 Thread Mark-Nathaniel Weisman
> Hey all, > I've got the script below that does not work, will anyone please tell me what I've >done wrong? I can't see where the script is failing and the logs simply say that the >script header is bad. I don't understand. Can someone please help? > > ##!/usr/bin/perl > > >My (@machines,$ho