Re: multivalued checkbox

2002-03-05 Thread Matthew Weier O'Phinney
Actually, the problem was that I was trying to do something like: foreach $parameter (params()) { $$parameter = params($parameter); } When I couldn't get the list in, I did: foreach $parameter (params()) { if (ref(params($parameter)) eq "ARRAY") { @$parameter = params($parameter) } el

CGI.pm output in hex :(

2002-03-05 Thread Vicky Lorenzo
Hello all, I am using CGI.pm to send the ouput of a form to both a flat file and an html file (for the purpose of viewing it on the web and at the same time doing something else with the file in unix). The web output is interpreted fine and looks okay. But the flat file in unix, has I guess hex

multivalued checkbox

2002-03-05 Thread Matthew Weier O'Phinney
I am attempting to build a simple webmail application using the Mail::IMAPClient module. I have made my message list a form, and beside each message is a checkbox. At the bottom of the list are a number of radio buttons for things such as "Mark as Read", "Delete", "Copy", and "Move". The checkb

Re: extracting params to a hash

2002-03-05 Thread Brett W. McCoy
On Tue, 5 Mar 2002, Jeff 'japhy' Pinyan wrote: > On Mar 4, Shaun Fryer said: > > >I'm trying to convert an old script that used cgi-lib.pl over to using > >CGI.pm. In order to save time I'd like to simply do something like > >what follows (though that doesn't actually work it seems). > > > >%in =

Re: extracting params to a hash

2002-03-05 Thread Jeff 'japhy' Pinyan
On Mar 4, Shaun Fryer said: >I'm trying to convert an old script that used cgi-lib.pl over to using >CGI.pm. In order to save time I'd like to simply do something like >what follows (though that doesn't actually work it seems). > >%in = param; param() only returns field names. But why not just

run a perl script onunload????

2002-03-05 Thread nate brunson
hello i dont know if anyone read my last post, but i made a perl script that would track where people go on my site, so if they went to "my portfolio" then when the section loaded a perl script would update the current count for that section, i thought that it would get pretty prossesor intens

Re: forcing a script to finish in a subroutine

2002-03-05 Thread fliptop
W P wrote: > i'm making my own (hopefully informative) error pages for my site. i have defined a >subroutine pr_error which takes the error(s) as input and outputs an HTML page. > how can i make it go to the end of the script ( __END__ ) on those errors (which >will not necessarily be fatal).

Re: How can i put the html code in my cgi?!?

2002-03-05 Thread Michael Kelly
On 3/5/02 12:52 AM, GsuLinuX <[EMAIL PROTECTED]> wrote: > thanx, but i got a huge html code and converting like that will cost be too > much, isn't there a method pratique like > print <<"html code"; > > ?!??!?!!?? > > thanx > > Derya It's all a matter of what you want to do. If you want the

forcing a script to finish in a subroutine

2002-03-05 Thread W P
i'm making my own (hopefully informative) error pages for my site. i have defined a subroutine pr_error which takes the error(s) as input and outputs an HTML page. how can i make it go to the end of the script ( __END__ ) on those errors (which will not necessarily be fatal). for example: my

Re: extracting params to a hash

2002-03-05 Thread zentara
On Mon, 4 Mar 2002 13:48:34 -0500 (EST), [EMAIL PROTECTED] (Shaun Fryer) wrote: >I'm trying to convert an old script that used cgi-lib.pl over to using >CGI.pm. In order to save time I'd like to simply do something like >what follows (though that doesn't actually work it seems). > >%in = param; >

Re: problems using open to get data from mysql

2002-03-05 Thread fliptop
Maleit Nen wrote: > > First excuse my english please, i am tring to get data from mysql with > open(ident,"|mysql... > and put the result in a var $salida > > This is the script: > > $comandosql="use mataro;select password from mataronins where > identificador=\"$identificador\";"; > open (T

Re: How can i put the html code in my cgi?!?

2002-03-05 Thread GsuLinuX
thanx, but i got a huge html code and converting like that will cost be too much, isn't there a method pratique like print <<"html code"; ?!??!?!!?? thanx Derya - Original Message - From: "Eduardo Cancino" <[EMAIL PROTECTED]> To: "GsuLinuX" <[EMAIL PROTECTED]> Sent: Monday, March 04,