I hope this will give you a better understanding of how my script is
running:
#!/usr/bin/perl
use strict;
use CGI qw/:standard/;
print header( -status => '204 No Content' );
open(CU, '/usr/bin/cu');
print(CU "-s 9600 /dev/term/a\n");
close(CU);
open(DEV, '>>/dev/term/a') or die "Couldn't ope
Odd, it still gives me "500..." but now this time the script wont work.
-Original Message-
From: Curtis Poe [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 25, 2001 12:59 PM
To: CGI Beginners
Subject: RE: CGI Return
--- Paul Burkett <[EMAIL PROTECTED]> wrote:
> I'
Everything I try I get the same error! I've tried using 'use CGI' but still
nothing. I found a command that works it's called "HTTP Command 204" but how
do I implement this into the script? And where do I put the "Content:" line
in?
quot;");
print $q->header(-type=>'text/html',
-status=>'204 No Response');
That's it! Wow my first real program at 16...I feel special!
-Original Message-
From: Curtis Poe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 2:2
Ok, this is odd, I got it so it wont redirect the webpage, but now it won't
change the camera. When I restore it to the original code it changes the
camera but redirects the page to "500 Internet Server Error." Shouldn't
STDIN work in CGI scripts?
Hey does anybody have a copy of the mesage that I think titled "Re: Re: CGI
Return" that was said to me, stupid Outlook took it from the mail server so if
anyone that has a copy of this message please forword it to me, thanks.
Paul Burkett
where. Also I heard that there is an HTTP
command called 204 that won't redirect the script to another page. You can
see the webpage @ www.atglab.org just click on "Lab Cam" towards the upper
right hand corner.
-Original Message-
From: Mark Bergeron [mailto:[EMAIL PROTECT
Hi, I created a script from perl and changed it into a cgi web script. Right
now I use the command and it seems to work when I click a from button
that submits the value to the script. See, it's supposed to change the position
on the webcam and it works fine, but still returns with a "Internal Se