Re: Random images on a bulletin board

2002-07-03 Thread Janek Schleicher
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

Re: Random images on a bulletin board

2002-07-02 Thread Connie Chan
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

RE: Random images on a bulletin board

2002-07-02 Thread Troy May
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

Re: Random images on a bulletin board

2002-07-01 Thread Connie Chan
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