Please bottom post...
> Also, the first line,
>
> > #!/usr/local/bin/perl
>
> What if the server isn't a UNIX server, but an IIS server? Doesn't
this line
> have to change?
>
Careful, Unix is an OS type, IIS is an application software group.
It is my understanding (which could be very wrong)
> Hi
>
> I have a very simple cgi script that I have put onto a webserver. I want
> to write to a log file when it is run. My problem is that the open file
> command always fails (and I get the "openFailed" message in my browser).
> (even if i try opening for input it fails). I have created the fi
> hi there,
>
> I've got the following example:
>
> system ("ping -a $hostname | cut -c20-30");
>
> how do I get the following result which is (is alive) into a string
> variable as I keep on getting 0
>
> Please help.
>
Seems like you might want to post these types of things to
[EMAIL PROTE
>
>
> I working on a rather complex database cgi program and i've never done
much work with user logins. Ideally I woudl love to set up a secure
login which will verify passwords aggaints data stored in an SQL table.
The modle I wish to use ie below. The area I need help with is the
proper way to
> I cant find a simple perl function to replace characters in a string. Im
> trying to inserts strings like "bob's" into a database and need to convert
> that to "bob''s" so that sql doesnt whine when i do an insert.
>
> Any suggestions?
>
There are regex's and the tr/y functions/operators? But
Luinrandir Hernsen wrote:
Can I do something like this?
perldoc -q quoting
@CityA="Suburb1, Suburb2, Suburb3";
@CityB="Suburb1, Suburb4, Suburb5";
I don't think the above is doing what you think it is. It is assigning
one element (the first) of the array to a string. If you are trying to
assi
>
> On 14 May 2004, at 15:58, Werner Otto wrote:
>
> > Is there any way in which I can make my site appear the same in all
> > available browsers?
>
> No.
>
> (I'd be very impressed if you could even make it appear similar in
> Emacspeak, JAWS, Firefox, and Lynx).
>
> Work to public standard
> Hi,
>
> Is there any way in which I can tell perl where to print my data. i.e.
>
> Here is my .html
That doesn't look like HTML to me? I am thoroughly confused, can you
provide better information about the issue?
As a hunch you might want to check out one of the various template kits,
Templa
> Hi,
>
> I have tried:
>
> system("zip", "-r", "archive", "*");
>
> But this tells me that the file "*" cannot be found.
> I guess the shell thinks that I want to pass the quoted string "*" and not
> only the * character to match all files.
>
> I have succeeded with:
>
> system("zip -r \"arch
Please bottom post...
> This is better, replace the quotes with nothing and then build your input
> tag.
>
Better? You have destroyed the data. Stay away from my information
with your substituitions.
[snip code that should not be used in production]
>
> I hope this helps
Anyone readin
Baek, Steve wrote:
Fellow Perl-Mongers:
I'm trying to break apart the command `df -k` data and display it into an
html table:
Filesystemkbytesused avail capacity Mounted on
/dev/dsk/c0t2d0s03008783 83669 2864939 3%/
/dev/dsk/c0t2d0s34032654 886633 31056952
> Hi all,
>
> I am using CGI to set a cookie:
>
>
> # create cookie:
> $packed_cookie = $query->cookie(-NAME => "cookieName",
> -VALUE => "cookieValue",
> -EXPIRES => "+10m" );
>
> # set cookie:
Please bottom post...
> I'm not an Apache guru, but I had a similar problem on Linux. You need
to add
> the following directive into a "conf" file. I've never installed
Apache on
> Windows before so I'm not sure where you need to put it. On Linux I
added it
> to "default-server.conf", but there
Jan Eden wrote:
Hi all,
I wrote a little form mail script and start by setting the environment variables like this:
BEGIN {
$ENV{PATH} = "/usr/sbin";
delete @ENV{ qw( IFS CDPATH ENV BASH_ENV) };
}
Now the actual directory (.) is obviously not searched anymore, since
my $page_head = eval
Frank DeLaTorre wrote:
All,
Is there a perl "sockets" list I can get a hold of ?
You mean mailing list? Many mailing lists, are listed here:
http://lists.perl.org/
I didn't see one specifically for sockets. If you have socket related
questions they wouldn't be off topic for the beginners list
drieux wrote:
This has what to do with CGI?
[..]
Sorry forgot to toggle off the 'bitterness' flag, apparently I have been
at this way to long.
Wiggins, think about the idea for a moment,
what if it were you first time in the barrel
as the guy who had to do the interviewing of
> Dear Friends,
>
> Please provide me a list of Interview questions that are frequently
asked in
> Perl.
>
This has what to do with CGI?
I would also suggest that if you post this message in a more appropriate
forum that you state your reasons for wanting them. If you are trying
to learn wha
Richard Heintze wrote:
I'm using these statements in my main program:
use DisplayPCE qw($order $fnx );
...
print join("", map { qq[$_] }
@{$DisplayPCE::order});
...
When I use the debugger, I find that order is
undefined! When I use the browser to view the page,
the value of undef is confirmed.
> On 07 Apr 2004 22:54:17 -0400, [EMAIL PROTECTED] (B McKee) wrote:
>
> >Yeah, ok, this isn't completely on topic. Please humour me (or at least
> >flame me politely). I need to redirect people to a perl-CGI script
> >
> >I have written a perl script that generates a series of active web
>
B McKee wrote:
Yeah, ok, this isn't completely on topic. Please humour me (or at least
flame me politely). I need to redirect people to a perl-CGI script
I have written a perl script that generates a series of active web
pages. It's in the cgi-bin and works fine when accessed directly
eg:
> I find I'm undefining variables my assigning an
> unitialized variable to defined value to make it
> undefined (as exemplified below).
>
> Is there a better way to do this?
>
> my $k;
> for($i = 0; $i < $c; $i++){
> if ( defined $k ){
> print $x[$k];
> my $t; # intentionally und
rob lester wrote:
I'm stumped on where to look but there must be a module to handle
interactive programming. What I mean is printing out a list of things,
the user selects what he wants, hits enter and the program continues. I
presume the module would enable going back to change things and handl
Alex Maceda wrote:
I have a from processing script that I am trying to modify to spit out another html form, minus text boxes. My question is can I somehow use the name portion of the POST request as a variable to have the value portion print in it's proper location? ie. I get a colon separated
> Hi all,
>
> Does anyone know how could I print a UTF-8 HTML page (like Google's one)?
>
> Which modules I need to use?
>
> Is perl able to do that?
>
> Thank you.
>
You may find some useful help in,
perldoc perluniintro
perldoc perlunicode
perldoc utf8
I suspect it can, just don't know mu
Please bottom post...
B. Fongo wrote:
The error occurs on initial call, so id should be empty be then. I
expect the routine to open a new session (see code below) if session_id
is empty - but it fails then.
==
my $dbh = dbConnect();
# Get value
Rob Dixon wrote:
Hi guys.
What's the 'usual' way (if there is one) of implementing an 'active' back
button (which does the equivalent of the browser's back button but is
implemented in CGI code)?
If, say, I'm doing a database search and come up with a list of records,
each of which can be clicked
Andrew Gaffney wrote:
John Goodleaf wrote:
Hello,
I'm not on the list, so please CC me directly.
Although I'm a reasonably competent Perl user I have never actually
used it for CGI purposes, just for database querying/data munging.
You can imagine my perpetual confusion at finding the Perl books i
Allen Wang wrote:
-Original Message-
From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 6:11 PM
To: Allen Wang
Cc: [EMAIL PROTECTED]
Subject: Re: GD Install Failure (was: Re: elsif issues still)
Please bottom post...
Allen Wang wrote:
The first
B. Fongo wrote:
My implementation of Apache::Session::MySQL dies along the way, and
gives
unclear warning.
[error] Died at
/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Generate/MD5.pm
line 40.
I decided to implement session as a module call Store::Session, so as to
minimize recoding it in many s
Please bottom post...
Allen Wang wrote:
The first error message should be
"
Warning: prerequisite GD failed to load: Can't load '/opt/perl5/lib/site_perl/5.6.0/PA-RISC2.0/auto/GD/GD.sl'
for module GD: No such file or directory at /opt/perl5/lib/5.6.0/PA-RISC2.0/DynaLoader.pm line 200.
at
Please start a new thread when posting (and bottom post when replying)...
Allen Wang wrote:
When I was trying to install GDGraph-1.43
It failed due to the following message
"
Warning: prerequisite GD failed to load: Can't load
'/opt/perl5/lib/site_perl/5.6.0/PA-RISC2.0/auto/GD/GD.sl' for module G
> Hi,
>
> I have created some HTML forms using the Perl CGI module. Now I need
to perform client-side
> validations on those forms. Examples of these validations include
checking if numbers alone have
> been entered in a price field, checking if the e-mail field is in the
correct format etc.
>
> ...
> >>I need to show these files (jpg), or allow the download (.pdf, .rtf
> ...
> > ...) from a script for users who already are authenticated and have a
> > session opened in the server (this part is already working).
>
>
> Gr - I promise to read slower.
>
> Set DefaultType applicat
>
> Hi,
>
> I have files(.jpg, .pdf, .rtf, .xls) in the following non-public folder:
>
> /home/alex/documents/
>
> I need to show these files (jpg), or allow the download (.pdf, .rtf
...) from a script for users who already are authenticated and have a
session opened in the server (this part is
> Hi,
>
>I am using the Perl CGI module to generate HTML form elements. One
of these elements is a
> checkbox. Following is my definition of this checkbox
>
>print $q->checkbox(-name=>'want_media',
> -checked=>'checked');
>
>The problem is, when the page gets
> Hi,
>
> The following code is hanging up the browser and I think it has something
> to do with the hash having keys array and values array. There is no error
> message, just the browser taking a really long time. Any help would be
> appreciated. Works fine with 3 line, 12 word 1 kb text file
Sara wrote:
I am looking for a regex which would extract the intials from a
string i.e.
str = "Doe, John L.L.M";
$str =~ /(^(\w)).*?((\s)(\w)).*?((\s)(\w))/;
$initial = $1.$2.$3;
print "$initial";
The above code is not serving my purpose.
String constants: There would be always 3 words (obviou
WC -Sx- Jones wrote:
Bill Tribley wrote:
CGI was written from the beginning to not compromise
> the security of the box on which it runs.
Just because a module is secure doesn't mean the
resulting application is.
Correct, but I think Bill was specifically meaning 'CGI.pm' is secure so
you don't
Please bottom post
> thanks - I've tried installing it (and other modules) on my Solaris 9 box.
> The 'perl MakeFile.pl' and 'make' work fine, but 'make test' fails
spitting
> out "Command failed for target 'test_dynamic'" -- any idea what this
means
> and how I can fix it?
>
Can you prov
> I'm using Perl 5.6.1 for mainly CGI work
>
> How do I know which modules are already installed?
>
If you have shell access,
find `perl -e 'print "@INC"'` -name '*.pm' -print
Will show you, note that this will include modules in your cwd which if
that is your home dir and you have a .cpan the
> I want to store the data from a straightforward form in an XML file. The
> perl script has to read the form data, and write it to the XML file.
>
> What's the best/simplest module for this?
>
CGI.pm with XML::Simple would be my choices, both easy to work with and
available on CPAN.
http://da
Please don't cross post, use one list first, if your question isn't
answered satisfactorily then try the other...
> Dear Friends,
>
> How to create menus using Perl CGI?
>
> Any help in this regard will be great.
>
What do you think a "menu" is? You will need to be more specific with
your que
>
> Hi,
>
> I am designing a form using cgi and when the user clicks the submit
button,
> the form must print to the users local printer and then submit.
>
> Thanking you in advance
>
>
You are talking client side, and most likely are going to need something
like Java, Flash, ActiveX, etc.
> I have a Perl script which uses the CGI module which needs to be able
to get all the
> selected items in a SELECT. I see that the request comes in as
> 'selectname=item1&selectname=item2&selectname=item3'. If I do '$p =
$cgi->Vars', wouldn't
> I only get the last value?
>From the CGI.pm doc
> Are there any standarized tests one can take to measure one's Perl
> prowess? How much are they and where can I find them?
>
This comment is pretty off topic for a CGI specific list. It has been
discussed a couple of times in the jobs-discuss list and the advocacy
list (I think), particularly
> Wiggins d'Anconia wrote:
>
> > use strict; # always
> > use warnings;# usually
>
> Why not always? I would make it:
>
>use strict; # always
>use warnings; # always
>
I won't argue with you over them. I always do both... some people
Mark Martin wrote:
Hi,
I've got a web form that allows a user to browse to an excel file on their computer
and input it and the year as parameters to run a perl script
FORM :
SCRIPT:
use strict; # always
use warnings;# usually
use CGI;
use Spreadsheet::ParseExcel;
$q=new CGI;
my $oExcel = new
> I am trying to generate a web page with :
> print $q->header("application/vnd.ms-excel"),
>
> This tries to launch Excel but I get the error:
> "File cannot be opened because: A declaration was not closed Line 1,
> Position 1 <"
>
> When I use:
> print $q->header("text/html"),
>
> The page dis
nt your header and the contents of the file, you may
even be able to bypass the local temp storage but I didn't check real
closely.
Good Luck,
http://danconia.org
>
> -Original Message-
> From: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 26,
Catriona Pure Scents wrote:
Hi guys,
many moons ago when I was a complete novice on perl...(only a little more advance now, but at least I have some scripts running and modifying them as need be..) I had a version of perl that ran on my pc as though it were a web servernot through the command
> Hello,
>
> Can you guys tell me on this piece of codes? It doesn't print the small
> html codes in the sub below. No warning - nothing!
> N.B. Don't bother about the html; just check my perl codes to see why I
> doesn't print what I want.
>
> Thanks
>
> Babs
>
Andrew Gaffney wrote:
Andrew Gaffney wrote:
sub init_db {
$dbh =
DBI->connect("DBI:mysql:database=skyline;host=192.168.254.25", "root",
"linux", {'RaiseError' => 1});
}
And before anyone gets on me about posting DB passwords, keep in mind
this is on a test server not connected to the intern
Andrew Gaffney wrote:
I'm creating my own module to handle sessions and other stuff for my site:
package Skyline;
use Apache::DBI;
use Apache::Cookie;
use Exporter;
@ISA = ('Exporter');
@EXPORT_OK = ('check_login', 'init_db', '$dbh');
@EXPORT = ('check_login', 'init_db', '$dbh');
our $dbh;
sub ch
Casey West wrote:
It was Saturday, February 14, 2004 when Robert took the soap box, saying:
: Casey West wrote:
:
: >It was Saturday, February 14, 2004 when Jan Eden took the soap box, saying:
: >: Hi all,
: >:
: >: Does anyone have an additional recommendation, so I can compare
: >: some more?
:
Frank DeLaTorre wrote:
bob,
yep that helps me a ton, thanks...honestly! Dang, now I'm wondering if I
should wipe Debian GNU/linux off the HDD and put OpenBSD...this is an
Ultra10 so I may not be able to find a port...
Are we talking a home box or a server? Randal's original point was
security,
Rick Triplett wrote:
Help -- I'm getting the following compile error:
Can't declare scalar assignment in my at
/big/dom/xlibertylearning/cgi-bin/reader_writer.cgi line 12, near ");"
The offending code is ...
#!/usr/bin/perl -w
use strict;
use DB_File; # module for Berkeley DBM w/ DB_HASH file type
Jan Eden wrote:
zentara wrote:
I will check this out. My ISP is really cheap, though, but more and more it looks like being too cheap. ;)
Cheap and inexpensive are two different things, especially in the land
of hosting. zentara's looks like a pretty good deal, I will also
suggest Westhost (do
Charlie somerville wrote:
Yeah, that looks pretty good
"Alexander Blüm" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
that doesn't sound too good. sounds like loading all into memory, split
it up into arrays and then finally printing the contents to the browser.
bleh!
how aout this:
> Hi,
>
> and thanks for all the previous suggestions regarding email modules.
Now it turned out that my ISP refuses to let me install *any* additional
Perl module on the server, so I have to use sendmail.
>
Switch ISPs? Sorry this isn't the answer you want. Sorry I can't
provide more help wit
Please group reply so everyone can help and be helped, and bottom post.
Richard Heintze wrote:
Wiggins and Jan,
Thank you very much for such an extremely prompt
response.
You are right, I want
my @PCEs = ();
I'm using the Win32 ODBC API on acres of legacy code
that does not
Jan Eden wrote:
Richard Heintze wrote:
Is there a way I can explictly declare that each array
cell contains a hash?
Here is the only way I know to do it:
my @PCEs=[];
while ($Data->FetchRow()) {
my %dh = $Data->DataHash();
$PCEs[$cn]{$dh{"id"}} = $dh{"ridPCE"};
}
This "my" declaration only says
Richard Heintze wrote:
Is there a way I can explictly declare that each array
cell contains a hash?
Only with a loop of some sort.
Here is the only way I know to do it:
my @PCEs=[];
This does not do what you think it does. This is assigning an anonymous
array reference into the first element of
Personally I would leave hassling script kiddies to the script
kiddies To me this is a bandwidth drain. Script kiddies are an
ignorant nuisance, the more time you spend on them the more they have
"won" in their little game.
http://danconia.org
> NICE!!!
> I really like this!
> I'm not sur
> Hi,
>
> Does anybody know if there is an option in readdir to return the file list
> in the order of their creation time? Or know of a way to do that? Been
> reading the perldoc w/o much luck. Thanks!
>
Doubtful, but it should be trivial using readdir in a list context and
using 'sort' with
> Wiggins d'Anconia wrote:
> > Andrew Gaffney wrote:
> >
> >> Wiggins d'Anconia wrote:
> >>
> >>> Andrew Gaffney wrote:
> >>>
> >>>> I have a Perl CGI script that runs a query against a MySQL table. I
> >
Andrew Gaffney wrote:
Wiggins d'Anconia wrote:
Andrew Gaffney wrote:
I have a Perl CGI script that runs a query against a MySQL table. I
have about 20 boolean values that I want shown as checkboxes in the
produced HTML, but I don't want to have to do something like the
below for e
Luinrandir Hernsen wrote:
I have a group of files I need to delete.
They have a format like this.
c:\game\data\(variable)info.file(variable)
the actual file name is
c:[EMAIL PROTECTED]
I need to delete all files in this directory with the partial name of
"info.file"
where the (variable) is a wildc
Andrew Gaffney wrote:
I have a Perl CGI script that runs a query against a MySQL table. I have
about 20 boolean values that I want shown as checkboxes in the produced
HTML, but I don't want to have to do something like the below for every
value.
The key to this is contriving good names for the
Please don't cross post to multiple groups...
>
> Dear Friends,
>
> I need to write a Perl CGI script that connects to
> a website (like Yahoo) and change the Password for
> my user. I don't want to do it manually. It should
> be handled by the script.
>
> Please suggest any idea/code available
> Question #1: Does anyone have any favorite document
> that is a style guide for perl programmers? There are
> entire books on the subject of style for C++
> programmers, I've not seen any for perl, though.
>
Well there is the perlstyle doc page,
perldoc perlstyle
that gives general suggestio
Richard Heintze wrote:
I have a perl cgi file that works fine. However, I
want to move it into a sub directory -- the cgi-bin
directory for Apache HTTPD is just getting too
crowded.
I know that feeling...
So I created a directory and moved my file. It could
not find my evidence_db.pm file (which d
Please bottom post...
> I am sorry, that was a little hastely written out of frustration.
>
>
> I am trying to use CGI.pm to display a row of images. Each of those
images
> are a link. I can make a text link, but have not figured the right
syntax for
> making an image link.
>
> Hope that was
> I have having difficulty with my brain lately. I need to display an image
> that is a link. I cannot find an example anywhere.
>
> Thanks,
> Rod.
>
Huh? Slow down, breathe, then give us that again coherently
http://danconia.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
> Hi,
>
> Sorry for this off topic subject, but I don't even know where to ask about
> this problem.
M$.com?
>
> A program on my site saves some email messages and let me download them
> later, and I use the .eml file extension for those files.
> When I try to access the URL to one of those me
zentara wrote:
So now all you have to do is setup the mailings.
For example, this code should work, but there are many mail modules
available to make it easier.
my $mailprog='/usr/sbin/sendmail';
my $email = $emailaddr;
my $from = '[EMAIL PROTECTED]';
open( MAIL, "|$mailprog -t" )
|| sa
Barbara Lindsey wrote:
I haven't seen this before. Can you do this to add more subs to a module
without making a parent module out of them?
With the 'system' definitely not, it executes in a separate process
completely. 'require' simply loads the code, which may or may not have
subs in it. In
> > On Tue, 13 Jan 2004 22:38:18 -0500, [EMAIL PROTECTED] (Gerry
> > Creighton) wrote:
> >
>
> Well that's disappointing. Well then how do they do it with the Megaupload
> script? That works great and isn't slow BUT it doesn't have form
> processing. The guy who wrote it said that I can paste th
Please bottom post...
> You can execute that second script:
> require script.pl
>
> or
>
> system('perl script.pl');
>
While interesting solutions I would avoid both. The first is a very odd
usage of require to me, if you want to go along those routes I suspect
you are better off with do or e
> Hi List,
>
> Is it possible to use CGI.pm in conjunction with a templating system?
>
> For example, I'd like to send the header from CGI.pm, but use a
> templating system for the bulk of the page. And which templating system
> do users here recommend. I've heard of Template::Toolkit and
> HTML:
> Hi all,
>
> Does anyone know what line I neet to print after using the
>
> crontab -e
>
> command, in order to run a program every half an hour, at 0 minutes and at
> 30 minutes?
>
Your line will need to be of the form:
0,30 * * * * /path/to/command
That says run at 0 and 30 minutes of eve
Please bottom post
Charlie somerville wrote:
POST TO THE DAMN PHP NEWSGROUP NOT THIS ONE!
There are certainly more polite ways to indicate that a poster's
question is off topic for a particular group...
http://danconia.org
"Daniel Hurtado Brenner" <[EMAIL PROTECTED]> wrote in message
news:[
Please bottom post...
Charlie somerville wrote:
You don't need to get that from a database! All you havve to do is put a
lock on a file read the file, increment it write the file and take the lock
off, easy!
Without knowing more about the OP's design how can you possibly
determine whether a DB is
Charlie somerville wrote:
Shouldn't you bbe posting to perl.scripts? i mean, cross posting is rude so don't do it
Shall we mention spamming the list posting about threads that are
ancient, top posting, and in general not being terribly helpful,
'perl.scripts'??
http://danconia.org
"Ash Singh
Please bottom post.
Charlie somerville wrote:
Not neccisarily, javascript can be a server side for example in ASP you can
set the <%@ Language=""%> bit to <%@ Language="javascript" %>
Hence the words "in general"
http://danconia.org
"Wiggins
>
> Hi everyone,
> I don't know if this is the right group to ask this but I have been
> trying to access my website outside of my router but have been unable
> to do so.
>
> I've tried Port Forwarding, changed some settings in http.conf. My
> site can be accessed at foobar.homelinux.com(for exa
B. Fongo wrote:
It's my first time to use sendmail. I want to my script to send a mail
to [EMAIL PROTECTED] or whoever is in the To: line. The script warns:"No
recipient name found in the header" and dies, even though there's a
recipient. I'm puzzled.
###
#
> Hi,
> Does anyone know is it possible to call javascript from perl? Can
> javascript be included in the same page? Can anyone provide an example of
> this?
> Thanks in advance,
> Mark.
How do you mean "call javascript from Perl"? In general Javascript is a
client side language that executes w
> Hi all,
>
> Please tell me how could I fork more child processes.
> I want to fork let's say 10 child processes.
>
> I know that I can do something like the following, but I am wondering if
> there is a clearer method:
>
> if (my $pid = fork) {
> #parent
>
> if(my $pid2 = fork) {
> #parent
Please don't cross post, if your question is CGI based then use that
list, otherwise use the other...
B. Fongo wrote:
I want to use mkdir(blah blah, o777), but want to first find out
whether the directory "blah blah" exists.
I'm not if the -e option will bw right here. Let's say:
unless
Sara wrote:
There was a script which people were using remotely, so I have to add this
simple subroutine
to check referrers. Currently, the site is getting approx. 20,000 hits per
day.
I don't think you are using the correct ENV variable. The referer tells
you what page the user was linking from
> It was Wednesday, December 03, 2003 when Casey West took the soap box,
saying:
> : I'm beta-testing a robot that searches Google when new questions are
> : posed to the beginners' lists. I have no idea if it will be useful.
> : :-)
>
> I should like to make an important note. This bot is not
> > What resources are you concerned about? It appears most of CGI.pm is
> > autoloaded at first usage, which should help matters of CPU and memory
> > usage.
>
> Maybe this is just my inexperience showing here, but I was under the
> impression that when you attached a module (i.e. use CGI.pm
> > This is one of the things CGI::Safe does, it is really just a wrapper
> > around CGI.pm but it allows you to do it without having to edit the
> > source, or to set it in every script, which is actually pretty nice.
>
> Yes, inspection of the CGI::Safe source indeed shows this. Bottom line,
> On Tue, 02 Dec 2003 10:43:08 -0800, [EMAIL PROTECTED] (Greg Zartman)
> wrote:
>
> >
> >I'm relatively inexperienced at using this module as I've always
> >preferred coding my own cgi functions. A question:
> >
> >If one were to use the CGI::Safe CGI subclass to turn-off uploads, does
> >thi
Greg Zartman wrote:
I'm relatively inexperienced at using this module as I've always
preferred coding my own cgi functions. A question:
If one were to use the CGI::Safe CGI subclass to turn-off uploads, does
this shut off uploads in general for the cgi session or is it required
that one use CG
> Hi,
> Any ideas is it possible to read the address bar through perl alone?
> Thanks,
> Mark.
What "address bar"?? My snail mail box has an address bar, that one?
Remember we are not mind readers and your question doesn't make a lot of
sense outside the context of your own head.
Assuming you
A L wrote:
Hello [EMAIL PROTECTED],
This continuation post is from another post at [EMAIL PROTECTED]; it's posted here
because this is more relevant to CGI. Previously, I had 2 questions, one being
pagination (the other question is yet addressed until pagination issue is understood).
Now, afte
>
> What is the perl code to redirect to a new url, in cgi. All I need is to
> execute a perl script and when its done to redirect the clients
browser to a
> new location.
> I am running Windows 2000 and IIS.
>
>
If you are using CGI.pm then it has a 'redirect' method:
http://search.cpan.o
>
> Hi everybody,
>
> I' m not sure this is the right list to ask this kind of question but
I don't know where else. We are using html forms to insert and update
news articles (texts) stored in a mysql database. Ever so often one of
our journalists forgets to press the submit button or his com
Mike Blezien wrote:
Hello,
I need the ability to round off dollar amounts to the nearest 100th of a
dollar amount, IE $14.9564 to $14.96 or $132.1123 to $113.11
what is the best way to accomplish this ??
perldoc -q 'have a round'
perldoc -f sprintf
http://danconia.org
--
To unsubscribe, e-mail
101 - 200 of 442 matches
Mail list logo