--- Teresa Raymond <[EMAIL PROTECTED]> wrote:
> I am receiving the error: # Global symbol "in" requires explicit package name.
> File 'Hard Disk:Desktop Folder:DOCS:CWN:ADS UPLOAD:ademail.cgi'; Line 14
...
> I don't understand how I am supposed to correct this error, I tried
> declaring with main
Brett W. McCoy wrote:
: On Sat, 16 Jun 2001, Steve Howard wrote:
:
: > Can someone point me to an example of a completely Object Oriented CGI
: > script. The Perldoc examples are procedural, but there must be a good OOP
: > example somewhere for me to tear apart and learn that technique from.
:
Teresa Raymond wrote:
>
> The only problem with using that bit of code is that the files that
> are being sent as attachments could be as large as 3MB since they're
> graphics - photoshop,quark, etc... I'm not sure it can handle the
> code, anyone else know?
>
> Plus, I'm just learning to use s
On Mon, 18 Jun 2001, Timothy Kimball wrote:
> An interesting twist on the display is to use templates, e.g. the
> Template Toolkit or HTML::Template. Then not only is the display
> separated from the logic, but the views can then be maintained by a
> non-programmer.
Yeah, that's a neat way to do
I'd like to try using the DBI interface for database access, but when I
downloaded it from ActiveState, I fount that I had to have a make utility to
get it installed. Does anyone know of a free make distribution for Win32
environments? It HAS to come in a compiled version, because right now I
d
On Mon, 18 Jun 2001, Kris Cook wrote:
> I'd like to try using the DBI interface for database access, but when I
> downloaded it from ActiveState, I fount that I had to have a make utility to
> get it installed. Does anyone know of a free make distribution for Win32
> environments? It HAS to com
Timothy Kimball <[EMAIL PROTECTED]> wrote:
> Brett W. McCoy wrote:
> : On Sat, 16 Jun 2001, Steve Howard wrote:
> :
> : > Can someone point me to an example of a completely Object Oriented CGI
> : > script. The Perldoc examples are procedural, but there must be a good OOP
> : > example somewher
open a command prompt and type "ppm install DBD-ODBC"
and "ppm install DBI"
At 09:43 AM 6/18/2001 -0500, Kris Cook wrote:
>I'd like to try using the DBI interface for database access, but when I
>downloaded it from ActiveState, I fount that I had to have a make utility to
>get it installed. Do
Actually, I've used make for all sorts of stuff without a C compiler. It's
amazing what you can automate. Actually, I've even used it as the backbone
for a QnD (Quick'n'Dirty) system security monitoring package before. I've
also used it for automated publication of web pages based on changes to
On Mon, 18 Jun 2001, Vinicius Jose Latorre wrote:
> > An interesting twist on the display is to use templates, e.g. the
> > Template Toolkit or HTML::Template. Then not only is the display
> > separated from the logic, but the views can then be maintained by a
> > non-programmer.
>
>
> Another ex
I've tried to follow your suggestion, and I get the following error message:
C:\perl\lib>ppm install DBD
Installing package 'DBD'...
Error installing package 'DBD': Could not locate a PPD file for package DBD
> -Original Message-
> From: Tim Keefer [mailto:[EMAIL PROTECTED]]
> Sent: Mond
You need to specify which package you want.
Such as DBD:Pg for PostgreSQL
DBD:MySQL for MySQL
I think there's a way to use the i/DBD/ command in cpan in order to see
all available drivers. I'm sorry I can't be more specific as it's been a
while.
- Original Message -
From: "Kris Cook" <
On Mon, 18 Jun 2001, Kris Cook wrote:
> Actually, I've used make for all sorts of stuff without a C compiler. It's
> amazing what you can automate. Actually, I've even used it as the backbone
> for a QnD (Quick'n'Dirty) system security monitoring package before. I've
> also used it for automat
I'm curious. Why, when the ODBC functionality is distributed with
ActiveState's Perl, do all examples I see in this group use DBI? The
application I'm working on uses an Access database, and I can't find Access
drivers for DBD, so DBI is useless to me, along with every example using it.
I'd LOVE
On Mon, 18 Jun 2001, Kris Cook wrote:
> I'm curious. Why, when the ODBC functionality is distributed with
> ActiveState's Perl, do all examples I see in this group use DBI? The
> application I'm working on uses an Access database, and I can't find Access
> drivers for DBD, so DBI is useless to
i was wondering is it possible to use a MS Access Db on a linux server eg my
host webfusion !?
and if yes what modules would i need ??
cheers in advance !!
[---]
Kris G Findlay
[EMAIL PROTECTED]
[---]
On Monday 18 June 2001 09:22 am, you wrote:
> i was wondering is it possible to use a MS Access Db on a linux server eg
> my host webfusion !?
> and if yes what modules would i need ??
>
> cheers in advance !!
> [---]
> Kris G Findlay
> [EMAIL PROTECTED]
> [-
This does not work, there is no error msg, it just doesn't get paid
attention to.
if ($cgi->param('$filesize')>=$CGI::POST_MAX)
{ print "Your file is too large to send";
}
*** Teresa Raymond
*** http://www.mariposanet.com
*** [EMAIL PROTECTED]
I would like to format this so that the parameters and values are
listed on their own lines.
foreach my $name ( $cgi->param )
{print "$name\t" . $cgi->param( $name ) . "\n";
}
This part of the script is not executing.
my $file = $cgi->upload( "ad" ) or error( $cgi->p( "No file uploaded." )
Teresa Raymond wrote:
: This does not work, there is no error msg, it just doesn't get paid
: attention to.
:
: if ($cgi->param('$filesize')>=$CGI::POST_MAX)
: { print "Your file is too large to send";
: }
Get rid of the $ in front of filesize. Should just be
if ( $cgi->param('filesize')>=$
How do I access the file size without making filesize a parameter
input by the user?
>Teresa Raymond wrote:
>: This does not work, there is no error msg, it just doesn't get paid
>: attention to.
>:
>: if ($cgi->param('$filesize')>=$CGI::POST_MAX)
>: { print "Your file is too large to send";
>
I'm trying to compile Crypt-SSLeay-0.22, and I get the following error,
midway through the process:
crypt_ssleay_version.h:1:17: ssl.h: No such file or directory.
crypt_ssleay_version.h:2:20: crypto.h: No such file or directory.
How can I fix this?
Well, thanks in advance!
I am completely new to Perl.
I am trying to figure out how I can parse a row, character by character,
that I have retrieved from a database. I would like to format output
based on characters from the row. For example I may have retrieved 250
character string from a database and I want to print
Teresa Raymond wrote:
: How do I access the file size without making filesize a parameter
: input by the user?
This should be in the $ENV{CONTENT_LENGTH} variable.
-- tdk
Jim J Wigginton wrote:
: I'm trying to compile Crypt-SSLeay-0.22, and I get the following error,
: midway through the process:
: crypt_ssleay_version.h:1:17: ssl.h: No such file or directory.
: crypt_ssleay_version.h:2:20: crypto.h: No such file or directory.
Looks like either you don't have one
ok thats what i though !!
would it be possible to convert the ms access db to somthing else ?
thing is i have a friend .. who is using access db. he wants the info stored
in it to be acess on-line
to form part of customer services eg product details and rpair ststus .. etc
...
as i said all the
OK, I'm not going to write my own script for attaching an email. I'm
going to try to modify the script from Randal's Web Techniques. I
need to point to the location of MIME::Lite. I'm having difficulty
with syntax with CGI.pm and strict. all of the below gives a server
500 error.
#ORIGINA
On Mon, 18 Jun 2001, Jim J Wigginton wrote:
> I'm trying to compile Crypt-SSLeay-0.22, and I get the following error,
> midway through the process:
> crypt_ssleay_version.h:1:17: ssl.h: No such file or directory.
> crypt_ssleay_version.h:2:20: crypto.h: No such file or directory.
> How can I fix
On Mon, 18 Jun 2001, Kris G Findlay wrote:
> ok thats what i though !!
>
> would it be possible to convert the ms access db to somthing else ?
>
> thing is i have a friend .. who is using access db. he wants the info stored
> in it to be acess on-line
> to form part of customer services eg produc
Teresa Raymond write:
: OK, I'm not going to write my own script for attaching an email. I'm
: going to try to modify the script from Randal's Web Techniques. I
: need to point to the location of MIME::Lite. I'm having difficulty
: with syntax with CGI.pm and strict. all of the below gives
--- Timothy Kimball <[EMAIL PROTECTED]> wrote:
>
> Teresa Raymond wrote:
> : How do I access the file size without making filesize a parameter
> : input by the user?
>
> This should be in the $ENV{CONTENT_LENGTH} variable.
>
> -- tdk
That will only give the approximate filesize. $ENV{CONTENT
Curtis Poe wrote:
: That will only give the approximate filesize. $ENV{CONTENT_LENGTH} is the total
:size of the
: entity body. With 'multipart/form-data' (the enctype used with file uploading), the
:entity bodies
: size is even larger than normal. The more data sent (besides the file), the
I am Interested In creating a Mirc Bot that Pulls Information From a Database Via
Triggers, If someone has seen this Done, Or Knows of some Open examples, Could you
please forward some examples to me. Thank you
Have you not tried DBD-ODBC?
-Original Message-
From: "Kris Cook"<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Mon Jun 18 08:30:16 PDT 2001
Subject: database
>I'm curious. Why, when the ODBC functionality is distributed with
>ActiveState's Perl, do all examples I see in this group use
At 10:30 AM 06/18/2001 -0500, Kris Cook wrote:
>I'm curious. Why, when the ODBC functionality is distributed with
>ActiveState's Perl, do all examples I see in this group use DBI? The
>application I'm working on uses an Access database, and I can't find Access
>drivers for DBD, so DBI is useless
Well, interestingly, DBD-ODBC works fine here at the office, and on my Win2K
platform at home. However, it doesn't like (or isn't liked by) my Windows
ME machine at home, resulting in an illegal instruction in PWS (Pretty Weak
Software) every time. Of course, I hate Windows ME anyway, so to h***
hey Ginn !!
fancy seeing you here !!
check out this perl ircbot at http://www.infobot.org/
[---]
Kris G Findlay
[EMAIL PROTECTED]
[---]
( Ghost-Hunter )
-Original Message-
From: Ginntonnik [mailto:[EMAIL PROTECTED]]
Sent: 18 Ju
you should not need a c compiler for make. On windows, however, it is either
nmake or dmake (I've heard of dmake, but never used it. it has always been
nmake for me) You should use PPM, but if you need a module that needs a make
on windows you can just substitute nmake for the word make in the
ins
Glenn & Curtis;
Thanks for the suggestions ... but more thanks to both you and Curtis for
helping me to start "thinking out of my box"... and this is why I'm replying
...
I have used both of your suggestions - the hash below and cgi html shortcuts
... I just needed to stop and invest a little ti
step 6 is complete, and is available at:
http://www.peacecomputers.com/addressbook_toot-step6.html
coming next - step 7 - A summary of what we've done so far
note: there was an error in the html::template file provided in step 5,
i've corrected it (i left out elements for the prefix and city)
For the curious: I have recently finished Lesson 4, part 1
(http://www.easystreet.com/~ovid/cgi_course/lesson_four/lesson_four_1.html) of my
online CGI
course (http://www.easystreet.com/~ovid/cgi_course/index.html).
There have been a few corrections to the rest of the course and improved site
I have just started to create a sample online store
with Unix OS, Apache web server, CGI with perl and
MySQL database.
The perl program given below splits the querystring
into Name value pairs.
---
#!/usr/local/bin/perl
if($ENV{'REQUEST_METHOD'}eq 'GE
You can export your (friend's) Access tables to comma delimited/separated
files and use the DBD::CSV module to use it.
> --
> From: Kris G Findlay[SMTP:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 6:55 PM
> To: Beginners-Cgi
> Subject: RE: MS Access DB
>
> ok t
i have an Ms Access DB and need to use it on a linux web server !!
does anyone know how i can go about converting it to Mysql or suchlike ??
as it is quite large. !!
thanx
[--]
Kris G Findlay
[EMAIL PROTECTED]
[--]
> Hey folks,
>
> Please don't scold me if I am asking a very stupid
> question. =)
>
> I am now handling some sort of text files,
> however, they are eating me a lot of harddisk.
>
> I tried to using PACK, however, I found that I cannot
> unpack it if I pack the file with "B" or "H"...
>
>
45 matches
Mail list logo