Aug. 17th, 2000

I'm going to work soon. I really hope they find some more stuff for me to do.
I went down and bought my daily cookie. :D And I'm trying to write a CGI script in Perl. Internal server error, even though everything compiles just fine. It's the same as it was in class! >_< I hate that.

Damn perl

Aug. 17th, 2000 02:19 pm
I'm STILL getting internal server errors. Anybody wanna tackle this one?

#!/usr/bin/perl
use CGI qw(:standard);

#Include lib file containing Parse_Form subroutine & call subroutine
require "parse.lib";
&Parse_Form;

#opens
output file for writing information
open (OUT, ">>./lsdtreg.txt") || &ErrorMessage;

$complete = $formdata{'complete'};

if ($complete eq "YES") {

  #prints info to lsdtreg.txt
  print OUT "$formdata{'first'},$formdata{'last'},$formdata{'email'},$formdata{'id_num'}";

  #closes file
  close (OUT);

  #redirect to successful registration page
  print redirect ("http://jcomm.uoregon.edu/departments/undergrad/lsdtreg/submit.html");

}

else {
  #redirect to error page
  print redirect ("http://jcomm.uoregon.edu/departments/undergrad/lsdtreg/error.html");
  
  }

sub ErrorMessage {
  print "Content-type: text/html\n\n";
  print "The server can't open the file. It either doesn't exist, or the permissions are wrong. \n";
  exit;   
  }
Still having perl problems. Grrr. I went down and helped a new faculty member with his Mac though. I know more about Macs than I thought. O_o Scary!

Phew!

Aug. 17th, 2000 03:30 pm
Okay, so my boss says that the Internal Server Errors probably aren't my fault, and that it's likely some security measure that Curtis implemented. That's good because I know my script's probably okay. That's bad because Curtis isn't here, so I can't test the stupid thing. :ppp

In other news, my Bis CD that wasn't working yesterday (New Transistor Heroes) is now working! I figured it would, because Intendo worked. My CD player pisses me off sometimes. Sheesh. :ppp

I rock. :D

Aug. 17th, 2000 04:58 pm
I talked to Curtis and now everything works. Well, so far anyway. I still have to add the date check to it, which I'm not quite sure how I'm going to do. Hopefully Dan will be in tomorrow to help out, since he knows Perl a lot better than I do. But I also cranked out the script that spits out all the recorded info with no trouble at all, so I'm feeling pretty cool anyway. ^_-

I'm probably going to head home pretty soon... I don't think I have anything left that I can quickly do. But we'll see, eh?
Home now... was gonna go to the gym, but I had a long and tough bike ride to the bank instead, so that'll count.

Working at Jcomm is screwing up my computer at home... whenever I cut, copy, or paste, I want to hit the Command-X/C/V or whatever, but at home, that key is Alt, which doesn't do diddly. O_o Bugger.
Working on my Kodocha site... I'm going to have a reeeeally spiffy music section on this site when I'm done! >:D

March 2017

S M T W T F S
   1234
567891011
1213 1415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 24th, 2026 08:51 pm
Powered by Dreamwidth Studios