On Sun, 2 May 2004 at 15:00, Charlie davis opined:
Cd:But when I type what it says in the book I am getting an error
Cd:messagethat states that I have entered a bad command or filename what I
Cd:am entering is c:\ perl -w -e print \ Hello, World!\n\; And then I
Cd:get the error message.
Cd:
Cd:I
On Tue, 3 Feb 2004 at 17:42, Chad A Gard opined:
CAG:I'm attempting to dynamically place an image into the user interface
CAG:of an intranet site to celebrate various holidays. It's really not
this doesn't really have anything to do with cgi, but if you read the
recipes for Date::Calc, you
On Tue, 28 Oct 2003 at 10:52, [EMAIL PROTECTED] opined:
:On martedì 28 ottobre 2003, alle 10:15, SRef wrote:
: Why not try before you ask ?
:
:I though this mailing list was for beginners, and as I've started using
:CGI Perl just a week ago, I'm not still so able to send POST oversized
:for an
On Tue, 30 Sep 2003 at 23:57, David Gilden opined:
DG:How can I add two hours to offset for central time?
try date::calc
http://search.cpan.org/~stbey/Date-Calc-5.3/
you'll probably want to use the Add_Delta_Days() function.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Thu, 11 Sep 2003 at 14:13, drieux opined:
[snip]
d: sub should { defined($REQ_PARAMS-{$_[0]}); }
d:
d: sub doDaemon {
d:
d: }
d: sub kickDaemon { $me=shift; $me-doDaemon(@_); }
d: # the synonym trick...
d:
d:Which still gives me a HASH to
On Mon, 8 Sep 2003 at 15:36, drieux opined:
drieux - since no one has responded, i'll take a stab at some of the
issues you bring up.
d:One of my first question is - why the 'closure' eg:
d:
d:{
d: package FOO;
d:
d:}
d:
d:Or is that simply to make 'clear' that outside of
d:the
On Thu, 11 Sep 2003 at 07:55, drieux opined:
d:simply because
d:
d: $obj-can($do);
d:
d:does not mean
d:
d: $obj-should($do);
d:
d:The problem I am looking for in my should() method
d:is a programatic way to solve Which Method to invoke
d:the correct sub to deal with a query string. I
On Sun, 24 Aug 2003 at 03:04, zsdc opined:
z:fliptop wrote:
z:
z: merrill - i'm a little late on this thread, and the other suggestions are
z: valid, but here's one way to serve up files w/o using a direct link by
z: taking advantage of CGI.pm's header() function:
z:
z: my $cgi = new CGI;
z:
On Tue, 26 Aug 2003 at 00:31, Octavian Rasnita opined:
OR:This is a pretty good method, but it is not so good because the
OR:visitors won't be able to use a Download manager to download the file.
OR:Or better said, they won't be able to resume the download.
true, however the original poster
On Wed, 20 Aug 2003 at 13:29, Merrill Oakes opined:
MO:I have a link to a PDF file on a web page. I want to count how many
MO:times that someone clicks on the link (i.e. downloads the PDF). The
MO:easy way (at least for me) would be to make them go to a download page
MO:first, and I could
On Mon, 11 Aug 2003 at 22:36, Octavian Rasnita opined:
[snip]
OR:I've tried chmodding the perl script to 755, and I've tried running it
OR:with:
OR:
OR:$ script.pl
OR:
OR:...but it didn't want to run, telling me that there is no command
OR:script.pl, even though the script has a shebang line in
On Fri, 18 Jul 2003 at 12:03, Mike Harrison opined:
MH:I have a perl program that allows a user to upload a file (either .jpg or
MH:.gif) to the server, and returns a message if it exceeds a specified size
MH:(in my case 100kB). Currently (and don't laugh - I am new to perl), I go
MH:through the
On Fri, 18 Jul 2003 at 23:46, Mike opined:
M:What if I now want to upload 2 files. The first can be up to 100k in size
M:and the second up to 80k in size? That is pretty much the way I have it set
M:up at the moment...
M:
M:Or should I admit defeat at this stage and allow 2 files to be uploaded
On Tue, 15 Jul 2003 at 17:30, Anshuman Kanwar opined:
[snip]
AK:So it sees the filename but not the data itself. Problem is that I want to
AK:save the Jpg pictures in some other files and the
AK:BOTZSERIAL=00:02:D3:00:01:01 type info in some other file, but I am not
AK:seeing the binary (jpg)
On Fri, 4 Apr 2003 at 16:29, Mike Butler opined:
MB:Thanks, Andrew. I added CGI::Carp qw(fatalsToBrowser); to the script. That's
MB:a big help. The error message that I get now is:
MB:Software error:
MB:Undefined subroutine main::param called at simpleform.cgi line 6.
MB:
MB:Line 6 is my
On Tue, 11 Mar 2003 at 11:49, Susan Aurand opined:
SA:Hello, Can anyone tell me why I am receiving an error can't locate
SA:Net/LDAP.pm in @ INC (@INC includes /usr/lib/perl5/5.6.1 etc, etc etc,
SA:etc.
is net::ldap installed?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Tue, 4 Mar 2003 at 08:12, Todd W opined:
TW:my( $string ) = you ordered $q-param('quantity') foobars\n;
TW:
TW:The quoting mechanism knows nothing about evaluating expressions. That's
TW:what concatenation is for:
TW:
TW:my( $string ) = you ordered . $q-param('quantity') . foobars\n;
or
On 28 Feb 2003 at 05:31, Randal L. Schwartz opined:
RLS: WilliamGunther == WilliamGunther [EMAIL PROTECTED] writes:
RLS:
RLS:WilliamGunther I think Programming Perl is good for learning. There
RLS:WilliamGunther is a book also called Learning Perl from O'Reilly, but
RLS:WilliamGunther really I
On Sun, 23 Feb 2003 at 20:09, Ed Sickafus opined:
ES:Server: Linux (RedHat 7.2) Apache 1.3.x
ES:I'm trying to run an introductory exercise out of MySQL Cookbook by Paul
ES:DeBois
ES:Accessing MySQL from a PC via PuTTY to ISP's UNIX
ES:I can get to the mysql prompt but no further.
[snip]
since
On Thu, 20 Feb 2003 at 09:41, Peter Kappus opined:
[snip]
PK:Quite ingenious. While I'm sure I'll regret it later (and curse your good
PK:name as I'm wishing I'd taken the time to learn Mason or HTML::Template)
PK:this seems like a great quick fix for the time being. And it never hurts to
On Thu, 30 Jan 2003 at 08:33, Mike Blezien opined:
MB:trying to put together a simple 'ping' display via the browser... and
MB:not having any luck... how does one get the results of a ping to diplay
MB:the results properly ??
http://search.cpan.org/author/BBB/Net-Ping-2.28/lib/Net/Ping.pm
don't
On Sat, 18 Jan 2003 at 17:45, Hughes, Andrew opined:
[reply cc'd to list]
HA:DBD::mysql::db do failed: Duplicate entry '[EMAIL PROTECTED]' for
HA:key 2 at nCSSW.pl line 787.
HA:
HA:I know that you tried to point me in the right direction with the code
HA:snippet that you suggested. However, as
On Thu, 16 Jan 2003 at 16:32, Hughes, Andrew opined:
HA:I am pointing to the results.tmpl file which is in the same folder as the
HA:the .pl script. I found another test script on the web on another website,
HA:and I have the same problem -- the tags are not replaced with the
HA:information in
On Fri, 17 Jan 2003 at 14:29, Hughes, Andrew opined:
HA:My problem had to do with the content header. I also did not realize that
HA:you are supposed to point the .pl file in the browser. Rookie mistakes!
HA:
HA:As far as the TMPL_VAR tags, all of the tutorials that I have seen look
HA:like
On Fri, 17 Jan 2003 at 17:10, Hughes, Andrew opined:
[snip]
HA:The goal is that before I submit a form submission to the database, I want
HA:to make sure that someone with the same email address has not already
HA:submitted it. If the count(*) brings up anything greater than 0 then the
HA:users
On Thu, 16 Jan 2003 at 11:49, Hughes, Andrew opined:
HA:Thanks for the feedback. Before I get started on the html::template
HA:tutorial, I wanted to try a quick sample page using html::template.
HA:However, when I try it, I cannot get the tag in the html to process. Could
HA:someone take a look
On Wed, 15 Jan 2003 at 22:32, LRMK opined:
L:how do I retrieve save files that has been posted from a Html form to
L:my cgi script.
have you read 'perldoc CGI'?
L:please send a piece of example code
from 'perldoc CGI' (for a plain text file):
$fh = $query-upload('uploaded_file');
On Wed, 15 Jan 2003 at 22:32, LRMK opined:
L:how do I retrieve save files that has been posted from a Html form to
L:my cgi script.
have you read 'perldoc CGI'?
L:please send a piece of example code
from 'perldoc CGI' (for a plain text file):
$fh = $query-upload('uploaded_file');
On Mon, 6 Jan 2003 at 20:44, Hughes, Andrew opined:
HA:That makes a lot of sense. If I strip out the pipes, tabs, hard returns
HA:etc. going into the database table, do you think that I should be okay not
HA:using the module?
why waste your time?
the csv modules already on cpan do it all for
On Mon, 6 Jan 2003 at 15:11, Hughes, Andrew opined:
HA:my $filename = out.txt;
HA:open(OUTFILE,$filename);
HA: $stmt = qq { select * from 2002brochurecontest };
HA: $sth = $dbh-prepare ($stmt);
HA: $sth-execute ();
HA: $count = 0;
HA: while (my $row = $sth-fetchrow_hashref())
HA:{
HA:
On Wed, 18 Dec 2002 at 13:49, kevin christopher opined:
kc:Hope this doesn't further belabor the issue, but just to put my
kc:two cents in, Perl syntactic rules for prefixing $, @, % are
kc:very consistent, IMHO: You just need to keep in mind the types of
kc:the values/data types ultimately
[reply cc'd to list]
On Thu, 19 Dec 2002 at 06:23, Rob Richardson opined:
RR:What is the advantage of these changes?
RR:When is Perl 6 due out?
RR:Do those links you provided describe all the differences we will see in
RR:Perl 6?
i'm no authority on perl 6, so i can't answer any of your
On Tue, 10 Dec 2002 at 06:51, Admin-Stress opined:
A:I dont know why, in my OTHER RedHat 8.0 installation, I cant find
A:CGI.pm. I did install perl5.8.0.
A:
A:Anyone know how to install it? I looked in cpan, it seems it's default
A:perl module. And I cant find any installer for it.
A:
A:Is it OK
On Thu, 5 Dec 2002 at 10:39, Admin-Stress opined:
[snip]
A:I just want to make a 'secure site' that need username and password. So, the first
page of my site
A:would be fill in you username and password, for example, it will be placed here :
A:
A: http://www.mydomain.com/login.html
A:
A:After
On Mon, 2 Dec 2002 at 21:28, Scot Robnett opined:
SR:I am working with a university on a web project which entails setting up a
SR:new server. We're going with Red Hat Linux on Dell hardware (RAID 5
SR:configuration), but I am not sure which version of Perl to recommend. I am
SR:very used to
On Tue, 3 Dec 2002 at 09:36, T. Murlidharan Nair opined:
TMN:any calculations on them obviously. How do I check whether
TMN:the column contains data, once I have retrived all the data
TMN:using fetchrow_hashref().
you probably should ask on a dbi list.
On Sun, 24 Nov 2002 at 09:40, Ramon Hildreth opined:
RH:Hi,
RH:This is a clarification of a previous question about a scrolling list.
RH:here is my code:
RH:--
RH:city name, scrollinglist( -name=city,
RH: -override='1',
RH:
On Fri, 22 Nov 2002 at 15:56, Mike(mickako)Blezien opined:
M: @lists = split(/ /,param('list'));
from perldoc CGI:
FETCHING THE VALUE OR VALUES OF A SINGLE NAMED PARAMETER:
@values = $query-param('foo');
-or-
$value = $query-param('foo');
--
On Sat, 23 Nov 2002 at 05:07, Admin-Stress opined:
A: if ($res-is_success) {
A: print $res-content;
A: } else {
A: print Error: . $res-status_line . \n;
A: }
A:
A:What is the variable type of $res-content ? is it Array? Because it
A:just dumped the output (multiple lines), I need
On Wed, 20 Nov 2002 at 13:58, Michael Kelly opined:
MK:On Wed, Nov 20, 2002 at 02:02:05PM +, Nick Malden wrote:
MK:
MK:CGI.pm doesn't support http-equiv meta-tags, according to the documentation.
MK:What about something as simple as:
what? snippet from perldoc CGI:
To create an HTTP-EQUIV
On Thu, 21 Nov 2002 at 08:09, Michael Kelly opined:
MK:On Thu, Nov 21, 2002 at 07:19:37AM -0500, fliptop wrote:
MK: On Wed, 20 Nov 2002 at 13:58, Michael Kelly opined:
MK:
MK: MK:On Wed, Nov 20, 2002 at 02:02:05PM +, Nick Malden wrote:
MK: MK:
MK: MK:CGI.pm doesn't support http-equiv meta
On Wed, 20 Nov 2002 at 14:02, Nick Malden opined:
NM:print $q-header,
NM: $q-start_html(-title='My new page',
NM:-meta={'http-equiv'='Cache-Control'
'content'='no-cache,must-revalidate'})
NM:-meta={'http-equiv'='Pragma: no-cache'});
NM:
NM:but this gives
NM:
On Fri, 1 Nov 2002 at 07:04, Admin-Stress opined:
A:Maybe this is not so related with perl it self, but still ...
A:
A:Is there any way to 'auto execute cgi' ? I meant, I have to trigger
A:something (like updating database via perl) just after user viewed the
A:html.
perhaps a server side
On Tue, 29 Oct 2002 at 15:57, Jimmy George opined:
JG:And how come my use of -wT in the opening line results in a
JG:
JG:'Too late for Taint mode now' message?
JG:
JG:Again the cgi programming book uses it every where except for the
JG:security chapter but my Mac debugger will not accept it at
On Sun, 27 Oct 2002 at 14:10, Admin-Stress opined:
A:Is it possible to VIEW the source code of a perl cgi from a website?
sure, if your httpd server is improperly configured.
A:For example, I wrote a perl cgi like this
A:http://www.myweb.com/cgi-bin/addcustomer.pl
A:
A:The purpose of that
On Mon, 28 Oct 2002 at 10:26, T. Murlidharan Nair opined:
TMN:I must confess this is not a Perl CGI question, but,since we have some
then you should probably ask it on a non-cgi list. try one of these:
http://lists.perl.org/showlist.cgi?name=beginners
On Fri, 25 Oct 2002 at 12:11, Al Hospers opined:
have you looked at apache's documentation for mod_include?
http://httpd.apache.org/docs/mod/mod_include.html
AH:the cgi works fine when called in the browser as a url, here:
AH:
AH:http://66.186.192.77/cgi-bin/quotes/quotemaster.cgi?
AH:
AH:but
On Wed, 16 Oct 2002 at 19:33, Colby opined:
[snip]
C:Global symbol requires explicit package name at ./myscript.cgi line
C:60, 70, 90, 108
[snip]
C:I've gone over the code with a fine-tooth comb as it were, checked for
C:the usual (missing semi-colons, right parenthesis/curly braces, etc
C:...)
On Thu, 10 Oct 2002 at 22:01, Ian Watt opined:
IW:is there some special trick to linking a style sheet to your page when
IW:the page is generated by a cgi script?
IW:I have this sub routine that prints the header of a html page:
IW: sub write_html_header
IW: {
IW:print Content-type:
On Thu, 3 Oct 2002 at 08:52, zentara opined:
z:On Thu, 03 Oct 2002 07:34:13 -0400, [EMAIL PROTECTED] (Zentara)
z:wrote:
z:
z:Oops, keep forgetting the header. :-) The following will
z:send the form variables back to the browser.
z:
z:###
On Sun, 29 Sep 2002 at 16:40, Octavian Rasnita opined:
OR:Can you give me some hints about how I should use the fork, to run the
OR:process in background?
have you read
perldoc -f fork
yet? if so, what part of that do you not understand?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On Wed, 25 Sep 2002 at 10:00, Geraint Jones opined:
GJ:On Tuesday 24 September 2002 3:41 pm, fliptop wrote:
GJ: On Tue, 24 Sep 2002 at 13:24, Geraint Jones opined:
GJ:
GJ: GJ:I'm trying to get the output from a barcode scanner into my CGI script.
GJ: What I GJ:would like to see is the barcode
On Tue, 24 Sep 2002 at 13:24, Geraint Jones opined:
GJ:I'm trying to get the output from a barcode scanner into my CGI script. What I
GJ:would like to see is the barcode going straight into a text box in my
GJ:browser. I am using Device::SerialPort to read the output which works fine as
GJ:a
messages to the list so everyone
can benefit from the questions and answers.
to answer your question - did you investigate the perl module i listed?
it's called Image::Magick::Thumbnail, and it does exactly what you
describe. Please see below:
OR:- Original Message -
OR:From: fliptop
On Wed, 18 Sep 2002 at 20:43, Daniel Hurtado Brenner opined:
DHB:For example:
DHB:If i have a flat data base myfile.txt with this info:
DHB:
DHB:1|name|address|
DHB:2|name two|address two|
DHB:3|name three|address three|
DHB:4|name four|address four|
DHB:. (etc, etc)
DHB:
DHB:If i execute:
On Thu, 19 Sep 2002 at 08:20, Alex Agerholm opined:
AA:I am writing a CGI application/script in Perl which I am going to sell
AA:This application uses a few Perl modules (CGI.pm, Session.pm) which is
AA:covered by the GPL.
AA:How am I going to handle that, when I do not want to release my
On Wed, 18 Sep 2002 at 09:56, Yuen, Alex opined:
YA:I was wondering if it is possible to write a CGI (Perl) program to make a
YA:thumbnail page for my website.
YA:
YA:If so, how would I start and use for doing this?
if you question is how to create a thumbnail from a regular image, then
you
On Mon, 9 Sep 2002 at 22:08, Maureen E Fischer opined:
MEF:I'm working on a Perl CGI program that must update
MEF:A mysql database. The user enters key information that
MEF:Is used to display zero to many records. Then the user
MEF:Can update or delete any number of records displayed.
On Tue, 3 Sep 2002 at 11:05, Mike(mickako)Blezien opined:
M:Need to come up with a script to monitor a special POP3 account that will be
M:used to tigger another script.. was hoping someone could direct me or supply an
M:example of how to retreive an email from a POP account.
M:
M:Basically this
On Mon, 2 Sep 2002 at 20:33, Alex Agerholm opined:
AA:Can anyone give me a good way to protect my Perl code. I am writing a
AA:CGI application in Perl that I am going to sell - therefore I would
AA:like to protect my code in such a way that it is not that easy to copy
AA:the code and
On Mon, 2 Sep 2002 at 20:33, Alex Agerholm opined:
AA:Can anyone direct me to some good source code example, on how to password
AA:protect some CGI scripts.
AA:As I want the solution to be portable, I do not want to use .htaccess.
AA:I would prefer som code to make a login page and verify the
On Mon, 2 Sep 2002 at 06:20, Soheil Shaghaghi opined:
[snip]
SS:Now, here is what I am trying to get after the data is analyzed:
SS:All I want is to display a page that says Passed, or Failed with a message.
SS:
SS:Below is what I have so far:
SS:As you can see it's not completed yet, but I am
On Fri, 30 Aug 2002 at 10:32, Jimmy George opined:
JG:Is there any way of encrypting a credit card number etc. so that it can
JG:not be seen when being transmitted from desktop to server? The user
JG:needs to see what they type to make sure it is correct - so how do we
JG:get cgi to encrypt that
On 28 Aug 2002 at 11:57, Gfoo opined:
G:I'm creating a web appication in Perl (and CGI).
G:I' ve written code that is used to create and read sessions (by using
G:cookies or GET http method) which are used after authenticating user logins
G:in a database.
G:The code for handing transitions
On Wed, 28 Aug 2002 at 15:46, Oleksiy Rudenko opined:
OR:Where could I as a beginner read more about mod_perl? Sources in plain
OR:English appreciated.
OR:Thanx.
perl.apache.org is a good place to start.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On Tue, 20 Aug 2002 at 21:35, Hytham Shehab opined:
HS:hi guys,
HS:is it a must to use mod_perl to access all/some apache::* modules?, i
HS:mean, if i run normal perl and cgi scripts, i won't be able to access apache
HS:modules?
it's not necessary to use mod_perl.
for example, apache::dbi
On Tue, 20 Aug 2002 at 16:51, Bob Showalter opined:
BS:You're joking, right? Apache::DBI is completely useless under mod_cgi.
when i use it with ordinary cgi programs and postgresql (on linux) i
always see a pool of connections that remain active until httpd is
restarted or the child
On Sun, 18 Aug 2002 at 01:13, Soheil Shaghaghi opined:
SS:Thanks Jim :)
SS:I've actually seen such scripts on the web, so I know it's possible.
SS:One thing that is not the job of this script is to actually look for server
SS:details. These should be determined by the user.
SS:
SS:Basically, the
On Thu, 15 Aug 2002 at 16:37, Jim Lundeen opined:
JL:ok, i just setup a new server (redhat 7.3) and my guy says that the
JL:dbd/dbi stuff is configured for perl-to-mysql connectivity, but i get
JL:the following error message in my error log each time i try to run a
JL:script from either the
Kipp, James wrote:
What is the best way to validate form data. I have a form which the user
enters dates like '08/01/2002'. What is the best way to make sure this
format is entered. Should i use javascript here or regex?
i had some free time, so i decided to finish up some thoughts i have
GsuLinuX wrote:
I wanna check the information typed in the form field whether if it
is in date format or not . Like : check it if it is in format
day/mount/year , in format like ab/cd/ef or ab/cd/efgh ab must
be valid like between 1-31 cd must be valid between 1-12 or must
be a
Scot Robnett wrote:
I'm assuming your best bet would be to find the IP using the first line of a
ping or traceroute and regex-ing out the extraneous stuff, then using
'whois -a' (which does an ARIN search) and extracting the 4th line to get
the country.
Anybody have any easier/faster
Octavian Rasnita wrote:
I've seen the following line in more Perl scripts and even in some Perl
books, but it wasn't very well explained.
$|=1; ## Don't buffer output
What does it mean to buffer output?
Which is the difference if the $| is 0 or 1?
perldoc perlfaq5
--
To
Bob Showalter wrote:
-Original Message-
From: Soheil Shaghaghi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 2:48 PM
To: [EMAIL PROTECTED]
Subject: running tar from a browser
Hello everyone.
Here is my problem, if anyone can please help me:
Running, Linux.
I am trying to
Mike(mickalo)Blezien wrote:
I am new to this list, so if this not the proper list to send this too, I would
appreciate the name of the appropriate list.
it's not the correct list. this is a beginners-cgi list. i would
suggest the beginners mailing list. point your browser to
Jim Lundeen wrote:
I have the following in my HTML output:
head
meta http-equiv=refresh content=600;URL=program.cgi
/head
Question: Is there a way to display the counter? I want to have my
page say You will be transferred to blah in NNN seconds... I want
the message to
Maureen E Fischer wrote:
Hello,
Is there a way of varying the key fields in a where statement? I don't
i would suggest posting your questions on a more appropriate mailing list.
http://www.perl.com/pub/a/language/info/mailing-lists.html
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
to my script. I have attempted to use find on
the server without any luck.
put it in your home directory.
for example, my login is fliptop, and my home directory is
/home/fliptop
so i'd create the file
/home/fliptop/.forward
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
chuckmail
but based on it). Is that correct? The mail server is exim.
dunno. i use procmail and sendmail. here's what i put in my
..procmailrc file:
:0:
*
| /home/fliptop/bin/filter.pl
this is off topic for a cgi mailing list, perhaps you should try another
more appropriate list? maybe [EMAIL
John Pitchko wrote:
Yes that would work, but I was really curious as to why the ternary
operation does not work. In fact, none of my other ternary operations
seem to work. Is there something wrong with my syntax?
probably. try putting each true/false statement inside a parenthesis.
ps
Henk van Ess wrote:
Hi all,
My provider gave me the solution. I had to install:
pkg_add -r unix2dos
where unix2dos *.cgi strips the boxes.. Ty all for the input.
this perl 1-liner should do the trick:
perl -pi -e 's/\s+$/\n/g' filename.html
--
To unsubscribe, e-mail: [EMAIL
On Thu, 27 Jun 2002, [EMAIL PROTECTED] opined:
:With mine, there is nothing beyond what I described. The hash structure I gave you
:below, that's
:it. Form.pm takes the input, makes a hash with it, and if you understand how to use
:a hash and
:array ref, your set. Its just a hash, no
On Tue, 25 Jun 2002, [EMAIL PROTECTED] opined:
: CGI.pm--a threat to our way of life! Down with the troglodytes! :)
:Well, not exactly my point, but ok :) Just kidding
:I just think there are too many who close their minds to anything but CGI.pm,
:including potentially
:more efficient
Konrad Foerstner wrote:
okay my prob is not really CGI specific, but I just try here.
yikes! since this list *is* cgi-specific, you should take your question
elsewhere.
http://learn.perl.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
David Gilden wrote:
I have small problem here, check out the following:
#!/usr/bin/perl
use CGI qw/:standard/;
use CGI::Carp qw(fatalsToBrowser);
use POSIX 'strftime';
# This works fine on Earthlink's servers using:
print OUT strftime('%A, %B %1d, %Y %I:%M %p',localtime) ,\n;
David Gilden wrote:
print OUT strftime('%A, %B %ld, %Y %I:%M %p',localtime) ,\n;
But look here,
http://www.coraconnection.com/cgi-bin/schedule.pl
what is going wrong? (see the date string)
hrm - dunno. i use date::calc myself for date manipulation. maybe
someone else more
Bo Mangor wrote:
But how does it work? if(string =~/^[0-9]/)
The part string =~/^[0-9]/ - does it split the string into single
numbers and check if each of them is a part of the list [0-9] ??
I want to be scour that I have understood the Principe correct.
i would suggest
Hytham Shehab wrote:
(2) sorting order is passed as a bind parameter:
$sort = 'asc';
$sth = $dbh-prepare(select student_name from students order by first_name
$sort);
$sth-execute($sort);
you're trying to substitute the value twice. try something like this
instead:
$sort = 'first_name
Hytham Shehab wrote:
i did it already flip, but its not yet valid, also it seems to be mentaly
valid, its not for mysql.
perhaps you should ask your question on a more appropriate list. try
this one:
http://lists.perl.org/showlist.cgi?name=dbi-users
--
To unsubscribe, e-mail: [EMAIL
Paul Arsenault wrote:
database. As for transactions, only very high-end commercial databases
(such as your friend's Oracle) support transactions. They are only
that's not true - postgresql supports transactions.
and according to this page:
Hytham Shehab wrote:
hi all of u,
all whatta i want is see the exact executed query b4 its execution, i
mean not like this select blah from blah when x=? but not ? order by ?, i
want to see as if u write it in the console of mysql, something like that
select blah from blah where
Nikola Janceski wrote:
Poor me stuck with SH1Tty mail programs at work.
kevin - will you do us all a favor and close this thread? it was never
on topic, and has now degraded to a soapbox where a few subscribers are
simply airing their opinions.
all subscribers - please remember to keep
Christopher G Tantalo wrote:
fliptop wrote:
best/worst whore in cleveland, or whatever,
i dont know what kinda perl code you were working on there ;)
.. but i found some of the conversation somewhat helpful.. like the
SpamAssassin reference. i never heard of that.. now i can look
drieux wrote:
one of the problems I keep bumping my head into
is that fundamentally perl is a Kult - and as such
tends to not always be a well organized kult - since
they are never clear as to which are the true cannons of the faith
and which are the apostate ramblings of the merely
Sven Bentlage wrote:
I'm trying to get all the date values for the week (7days) ahead of a
specified date.
try date::calc
http://search.cpan.org/search?dist=Date-Calc
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ChaoZ Inferno wrote:
Well, firstly, it ain't CGI, it's network programming.
if it ain't, why are you posting to a cgi list?
http://learn.perl.org/ - choose another list.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ChaoZ InferNo wrote:
@text # contains values of a phone directory
$text[0] contains john=012345678
$phone1 = ?
let say i wanted to grab just the values'012345678'.
if the format of $text[0] is always name=number you can use split
instead of a regex.
perldoc -f split
--
To
David vd Geer Inhuur tbv IPlib wrote:
#!/user/cadiclab/bin/perl
use CGI qw(:standard);
$first = param('userid');
$last = param('pw');
$hide1 = param('hide1');
$hide2 = param('hide2');
print header,
start_html(-BGCOLOR=#99),
start_form;
print Hallo userid:
Camilo Gonzalez wrote:
I've just been informned by my ISP that Matt Wright's formMail will no
longer be allowed on any of their servers due to glaring security concerns.
I know now I shouldn't have used it but back then I was stupid and not a
subscriber to this fine list. Let this serve as a
drieux wrote:
or am I missing something here???
i think what you're missing is there's no point in trying to justify
running any version of any of matt's code - use the drop in replacements
at sourceforge or take the (quite unnecessary) risk. it's as simple as
that.
--
To
1 - 100 of 239 matches
Mail list logo