Hey All,
I am just about to go ahead and start validating form data. I was
thinking about tackling it in the following way...
$data1 = param("data1");
$data2 = param("data2");
$data3 = param("data3");
$data4 = param("data4");
if ($data1 ne "Whatever") {
print "Not equal";
elsif ($data2 ne "T
IANAE, but I've been using it in addition to, ie:
use CGI qw(-debug :standard);
use CGI::Pretty;
On Mon, 2002-04-15 at 15:02, Matthew Weier O'Phinney wrote:
> On Mon, 15 Apr 2002 17:53:50 -0400, Don Krause wrote:
> > How about:
> >
> > use CGI::Pretty
>
> WOW! I didn't know this existed -- o
On Mon, 15 Apr 2002 17:53:50 -0400, Don Krause wrote:
> How about:
>
> use CGI::Pretty
WOW! I didn't know this existed -- or where to look! Thanks. By the way,
from looking at the perldoc for the module, I'm still uncertain of how to
invoce it -- is it INSTEAD of
use CGI;
or IN ADDITION to
How about:
use CGI::Pretty
On Mon, 2002-04-15 at 14:44, Nikola Janceski wrote:
> uh... remember our friend... the $\
>
> $\ = "\n";
>
> can make some nice things!
>
> > -Original Message-
> > From: Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 15, 20
uh... remember our friend... the $\
$\ = "\n";
can make some nice things!
> -Original Message-
> From: Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 15, 2002 4:57 PM
> To: [EMAIL PROTECTED]
> Subject: CGI.pm == ugly source output
>
>
> I've been using
I've been using CGI.pm for a few months now, and whileI'm thrilled with
what I can do with it, I'm terribly frustrated with the HTML output it
creates -- not the way the browser parses it, but the source output.
I often need to debug what was sent, and I hate going through these HUGE
lines of tex
octavian Rasnita wrote:
> Is it possible to use a text field for uploading files, or I need to use
> only a file field?
> I have some reasons for wanting only a text file.
use an in your html. to restrict
file types, examine the uploaded file's content type:
use CGI;
my $cgi = new CGI;
my
If you want to upload the file as a file, you need to use a file field. If
you want to paste the text into a text field and then save it as a file on
the server, that's another story.
Scot Robnett
inSite Internet Solutions
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-Original Message-
From: oct
Hi all,
Is it possible to use a text field for uploading files, or I need to use
only a file field?
I have some reasons for wanting only a text file.
Thanks.
Teddy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]