James Kelty <[EMAIL PROTECTED]> said something to this effect on 08/23/2001:
> I would like to set up a configuration file for a CGI that I am writing
> so that it will be portable without
> editing the actual cgi. Stuff like administator email's, network
> segments, and the like.
>
> Is there a
Dianne Van Dulken <[EMAIL PROTECTED]> said something to this effect
on 08/14/2001:
> I am receiving a lot of values from a form. I want to loop
> through them and set new variables, with the same name, to the
> same value. EG: I want the param value phone to be set to
> $phone.
So, you want t
Fernando <[EMAIL PROTECTED]> said something to this effect on 08/08/2001:
> If there in perl any function that round a number for example:
>
> 13.96 to 14.00 or 14
>
> I don't want to use any module, just a simple function. Thanks for the help
> I alwys receive.
The easiest way is to add 0.5, a
Gael PEGLIASCO <[EMAIL PROTECTED]> said something to this effect on
08/08/2001:
> Hello,
>
> I'm looking for a way to open a http url, in order to retrieve
> parts of its content and display it in a cgi script.
>
> I'd like to do things like :
>
> open (FILE, 'http://www.myurl.com'); or
> open
David Draley <[EMAIL PROTECTED]> said something to this effect on 08/08/2001:
> hello -
>
> I am writing a search script that will retrieve records from an
> MYSQL db. I have used an array to store the returned records,
> but I am having problems pushing the array into a hash table.
> So far, my
Tillema, Glenn <[EMAIL PROTECTED]> said something to this effect on 07/17/2001:
> I know there must be an easy way to do this but the solution evades me
> and I'm hoping someone here either knows the answer or can point me in
> the right direction so I can figure it out myself ... on to the
> ques
Felipe Figueiredo <[EMAIL PROTECTED]> said something to this effect on 07/15/2001:
> Hi all,
>
> I need a script that passes the form information I want to the
> website, but I will be running the script from the shell.
> Reason: so I can do a repetitive job automagically.
>
> So, suppose I know
[ I lost the original message. Sorry!]
> Have you looked at things like HTML::Template to seperate out and manage
> your HTML?
>
> I personally have *finally* started to practice what I preach, and I am
> finding it easier. I'm just about to start looking at HTML::Template
> myself.
Quite oft
Dave,
Dave C. Brewington <[EMAIL PROTECTED]> said something to this effect on
07/12/2001:
> I am using a script to parse through info sent in from a web
> form. The information is parsed and creates two text files.
> One is used for a flat text history file and the other flat
> text file is use
Fernando <[EMAIL PROTECTED]> said something to this effect on 07/11/2001:
> I have a credit card number that I want to change to email a
> reciept to the customer. This is that I want:
>
> I have this number: e.j. 8578 596 8552
> I want to convert all the number to "x" like that xxx xxx
RL Autry <[EMAIL PROTECTED]> said something to this effect on 07/10/2001:
> Can anyone tell us where to find a list of all of the extensions used in
> cgi programming.
> Such as in this address:cgi-bin/rightnow.cfg/php/
> what would type of Perl file would*.cfg be?
Unfortunately, what
d say that no matter what $QCTAvgSecs
is, the sprintf is going to be slower.
An even better way would be POSIX::floor, as perldoc -f int will
tell us, although that might also be slower than int.
use POSIX qw(floor);
my $pi = 3.1415927;
print floor $pi;
(darren)
> At 01:46 PM 7/9/2001, darren
Thomas Jakub <[EMAIL PROTECTED]> said something to this effect on 07/09/2001:
> in c++ you can floor a variable to drop the decimal
> points. How can you do this with perl?
Use the int function (perldoc -f int).
my $pi = 3.1415927;
print int $pi;
# prints 3
(darren)
--
Westheimer's Discove
skazat <[EMAIL PROTECTED]> said something to this effect on 07/09/2001:
> use the CGI.pm module, checkbox values will come back as an array, so do
> something like,
>
>
> my $q = new CGI;
> my @checked_values = $q->param('whatever_row_i_want_to_chuck');
>
>
> then use the DBI module to chuck
James Kelty <[EMAIL PROTECTED]> said something to this effect on 07/03/2001:
> I have connected to a MySQL database, and I am creating a table
> based on the row fetched which is not a problem. But! How can I
> write a table when multiple rows are fetched without writing a
> new table for each row
Francesco Scaglioni <[EMAIL PROTECTED]> said something to this effect on 06/29/2001:
> Hi
>
> And thanks again.
>
> Can anyone suggest why the following gives me an error of:
>
> 'no comma allowed after filehandle at /cgi-bin/filename line 13'
>
> Line 13 is the print header, start_html( etc e
16 matches
Mail list logo