Connie Chan wrote at Wed, 03 Jul 2002 08:19:19 +0200:
> PS. You may run your script in shell ( perl yourscript.pl ), before you go on with
>the web
> browser... So it will direct tell you the syntax error at which line.. It saves your
>time to
> debug
Or to use a module doing this job:
us
you the syntax error at which line.. It saves your time
to debug
- Original Message -
From: "Troy May" <[EMAIL PROTECTED]>
To: "Beginners CGI List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 1:49 PM
Subject: RE: Random images on a bulletin board
h the regex or any reason it's throwing a 500 error?
-Original Message-
From: Connie Chan [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 10:47 PM
To: Troy May; Beginners CGI List
Subject: Re: Random images on a bulletin board
Emm. I don't exactly know what do y
Emm. I don't exactly know what do you want,
but try this if that's what you want:
make an array to put your IMG files,
make another array to put your SWF files.
make a random 0, 1 to choose if you want to output
as IMG or SWF
if IMG, random a file from the IMG array,
if SWF, random a file f