Verifying the referer

2002-07-05 Thread Octavian Rasnita
Hi all, I've made a script that should print something if the page referer is my site, and something else if it is not. The security is not a problem. I know that the referer can be set by some browsers. The problem is that some browsers like links (under Linux) don't offer this environment va

Including SSI in a script

2002-07-05 Thread Octavian Rasnita
Hi all, I want to make a Perl script that generates a web page and prints it on the screen. I want to include an SSI statement in that page. If I print : in the script file, this doesn't include the SSI in the page. I don't want to create another static HTML page and to include the SSI in it

Re: array of arrays :: part2

2002-07-05 Thread drieux
On Friday, July 5, 2002, at 08:31 , Connie Chan wrote: [..] > If you want to know what 'fields' inside %Data : > @DataKeys = keys(%Data); > print "@DataKeys"; # So you get "Code, Birth, Name"... > # However, the elements order in @DataKeys is not base > #on how's the order you create your key fie

Re: perl cgi and html table td tags..

2002-07-05 Thread Connie Chan
First, I have to declare that below are my own opinion only. Second, I would like to give you a pure HTML sample for a 2x2 table. Col 1 Row 1 Col 2 Row 1 Col 1 Row 2 Col 2 Row 2 Third, I would say, CGI.pm can handle simple with quite fair quality, but it should not for a table. Code wi

perl cgi and html table td tags..

2002-07-05 Thread jmpond
Hello List, Here is my issue. Trying to use perl/cgi script to build a table in a form. Building the table is straight forward as the code snippet below works. The problem is -- How do I set up the code to align cell 1 right and align cell 2 left? Or more generally how do I set up the code

FW: Check Mail then Fax [BEGGING FOR HELP.... PLEASE]

2002-07-05 Thread Connie Chan
Please anybody I am begging now. Please help... This is a mess now... I even have no concept on how to start. I will working on something like this There are 2 interface as input. One is a Web interface, which will accept HTML tag and plain text by POST method, but by GET

Re: array of arrays :: part2

2002-07-05 Thread Connie Chan
Well, I don't know how to pick a reference like this... but I guess using a hash of array may also fulfill your job... my @code = ('001', '002', '003', '004'); my @name = ('Joe', 'May', 'Bob', 'Foo'); my @birth= ('Jan', 'Feb', 'Mar', 'Apr'); my %Data = (Code=>\@code, Birth=>\@birth, Name=>\@name

Re: Form.pm (next installment of code review)

2002-07-05 Thread Ovid
Hi David, While I raise quite a few issues here, I have to say that I've rarely seen anyone present a CGI.pm alternative that supports uploads. I'm quite impressed, so keep that in mind while I pick it apart :) I'll ignore anything I may have covered in my discussion about the previous subrout

array of arrays :: part2

2002-07-05 Thread Alex B.
Hi, I've read http://webmaster.indiana.edu/perl56/pod/perllol.html and this cleared some points. :) still I do have some problems... the assignment of values to arrays in arrays works, but I gave the arrays in the array names: @array = \(@names, @school, @othercrap); so $array[2][3] woul

RE: array of arrays

2002-07-05 Thread Nikola Janceski
you need to learn about references. read the: perldoc perllol here is the jist though. @all = (\@array1, \@array2 ... ); # ... so on to access first array and first element: $all[0]->[0]; # i think or is it: $all[0][0] > -Original Message- > From: alex [mailto:[EMAIL PROTECTED]] > S

array of arrays

2002-07-05 Thread alex
Hi, I have a simple question: how do I access an array in an array? @array = (@array1, array2); ### unless this is wrong... the idea behind it is, that I have a long list, and want to put all 25 entries in a seperate array in that big array. later on I want to be able to read one speci