"Rafael Cotta" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Question #1: How can I get the value of the key, so I can have in output
> file something like "key = value" instead of only "value", as the code
above
> does?
for my $key ( keys(%Form) ) {
prin
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 1)
> Basically I have n + (5 or 6) texstfields to fill, initially from a file
which works fine. Then the user makes changes and submits changes to the
same script (don't want to use 2 scripts ideally), which iden
"Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message
002e01c1dd70$6800e7d0$[EMAIL PROTECTED]">news:002e01c1dd70$6800e7d0$[EMAIL PROTECTED]...
> If a user will click to download, Internet Explorer ask the user if she
> wants to open or save the file from the real server.
> I would like to make
"Teresa Raymond" <[EMAIL PROTECTED]> wrote in message
news:p05100301b8de2cf961a1@[67.36.181.234]...
> What I've done is:
>
> 1) have login page w/ hidden input name="formname" w/ some value leads to
> 2) cgi prog that cks that formname eq "some value" and the username &
> password1 and password2
"Zentara" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Tue, 16 Apr 2002 13:17:59 -0700 (PDT), [EMAIL PROTECTED] (John
> Brooking) wrote:
>
> For instance, I wanted to use Crypt::RC4 on a remote server.
> Using the above unshift, I upload Crypt::RC4 but it wouldn't work
> un
"Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message
003d01c1e8db$f6df0f60$[EMAIL PROTECTED]">news:003d01c1e8db$f6df0f60$[EMAIL PROTECTED]...
> Hi all,
>
> Please tell me how should I set the rights for some files and folders in
my
> web page:
First of all, this has nothing to do with perl, b
"Jack Daly" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Can some kind soul take a moment to answer a question? I want to have a
> default value in popup menu, right now I have the menu defaulting to the
> first value in the list. Is there any non-object
"Todd Wade" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
- Original Message -
From: "Jack Daly" <[EMAIL PROTECTED]>
To: "Todd Wade" <[EMAIL PROTECTED]>
Sent: Sunday, April 21, 2002 11:51 PM
"Connie Chan" <[EMAIL PROTECTED]> wrote in message
01c1e869$61296f00$de7566da@omega">news:01c1e869$61296f00$de7566da@omega...
>Anyway, I don't want to use cgi.pm.
The first time a user agent uses ``;'' instead of ``&'' to seperate the
name=value pairs youll wish you did
trwww
--
To
"Conan Chai" <[EMAIL PROTECTED]> wrote in message
003301c1ea03$29edb410$0164a8c0@user1">news:003301c1ea03$29edb410$0164a8c0@user1...
hi,
>how do i read in the request from a browser?
Go get the Perl Cookbook. Theres a whole section on being a TCP server. Its
a little too complicated to discuss
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> Input the Filename You Wish To Transfer
>
>
>
read: perldoc -M CGI
Uploading via a web browser is via http. The file is included with the
request to the server. FTP has nothing to d
"Drieux" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Besides I still feel squishy about the fact that
> I can run perl modules as 644 - which just seems
> unNatural to moi
The executeable bit is only necessary so your shell will use the first line
in
"Debbie McNerney" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
If all you need is to see if the field is empty, wrap the prints in if()
conditionals:
if ( $query->param('CustName') ) { print OUT ("\nCustomer Name: "); }
if ( $query->param('CustName') ) { pri
"Todd Wade" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> if ( $query->param( $fieldName ) { # this one is not empty
this should read:
if ( $query->param( $fieldName ) ) { # this one is not empty
forgot a paren
To
"Rob Roudebush" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I've seemed to have narrowed down the problem to $sth variable, I guess I
can't declare this as a private variable because it "prepares" it and needs
to have it at least local or global to acces
"Troy May" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm trying to figure out how to send emails through Sendmail with an email
> list that could change at any given time.
use Mail::BulkMail from CPAN:
http://search.cpan.org/doc/JIMT/Mail-Bulkmail-2.05
"Sven Bentlage" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
make the src attribute read something like: "path/to/file?section=topFrame"
and "path/to/file?section=mainFrame or whatever.
Then have the cgi program call those subs based on the value of
"Simon K. Chan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> cgi script on host 1pass $name to host 2 script on host 2
> # get $name ---> print "hi there
$name!\n";
Somewhere at the top of scriptOnHost1.cgi
"Richard Krause" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all
> (...)
> #td(['Broccoli' , 'no', 'no', 'yes']),
> #td(['Onions' , 'yes','yes', 'yes'])
> #]
> #)
missing
"Sven" <[EMAIL PROTECTED]> wrote in message
027901c204e8$fa475da0$14e307d5@brian">news:027901c204e8$fa475da0$14e307d5@brian...
...
> $context = $q->param(context);
>
> require "conf.txt";
> open(READ, "conf.txt") or die "Error opening file: conf.txt, Errorcode:
> $!\n";
> close(READ);
I dont un
"Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message
00ff01c210e4$af46dd00$[EMAIL PROTECTED]">news:00ff01c210e4$af46dd00$[EMAIL PROTECTED]...
> Hi all,
>
> I've made a form for uploading files and I want to let the visitors to
> upload large files.
> I've heard that it can appear timeouts when
Spider Man wrote:
>
> I am writing a web CGI form for intranet network use. Everything is NT
> based and I need some secure verification. I can grab the information of
> what machine has been used to submit the form. However, is there any way I
> can find out the username used to log into the ma
Root wrote:
> if ($path_info =~/menu/) {
> &menu;
> };
> if ($path_info =~/top/) {
> ⊤
> };
> if ($path_info =~/main/) {
> &main;
> };
validate $path_info to make sure it has an acceptable subroutine name, then
replace the above stuff with:
&$path_info();
As another tip, you shouldnt ever pr
"Kyle Babich" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
... bunch of code snipped here .
> -bgcolor => "\#00",
> -align => "center"},
>Font({
> -face => "Verdana, Arial, Times New Roman",
> -size => "4",
> -color => "\#FF"},
> "IMAP.cc"
>
<[EMAIL PROTECTED]> wrote in message
008d01c21c73$aa978a30$d381f6cc@david">news:008d01c21c73$aa978a30$d381f6cc@david...
. snip
> I'm sure I'll get lots of hate mail from CGI.pm die hard's, but my
other choice is to just not
Not trying to post hate mail, just reasoning on the subject.
>
[EMAIL PROTECTED] wrote:
> sub parse_form_input($){
> my $input = shift;
I told you already.
> my @variables = split(/\&/, $input);
this is wrong!!!
Todd W.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
> open(FH, " for write, >> for
> append local $/ = undef; # slurp mode (allow for shoving the whole file
> into a scalar)
> my $faq = ; # slurp the whole file into this scalar.
> close(FH);
>
open(FH, $file) or die("open $file: $!");
print(); # print() takes a list. D
Roger Spears wrote:
> I'm working on a project that uses Perl/CGI to work with Databases. I
> have done this before with basic txt files and then I use 1000 lines of
> code to make them appear relational. What would be an easier way to
> achieve this? SQL?
>
> Can you use Perl/CGI to interact
"Ovid" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> --- Todd Wade <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] wrote:
> >
> > > sub parse_form_input($){
> > > my $input = shift;
> >
<[EMAIL PROTECTED]> wrote in message
00d301c222b6$440166d0$d381f6cc@david">news:00d301c222b6$440166d0$d381f6cc@david...
>
> I appreciate your feedback. The reason I was frustrated with Todd is
because it was strictly
> criticism. Basically the tone was "Your wrong, and you shouldn't be
mak
the docs that show modification of $/ in action
have the corresponding code wrapped in a block, i.e.
{
local $/ = undef();
$_ =
}.
Quick quiz: can anyone explain why?
Todd W.
>
> - Original Message -
> From: "Todd Wade" <[EMAIL PROTE
"David Vd Geer Inhuur Tbv Iplib" <[EMAIL PROTECTED]> wrote in
message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi All,
>
> After a couple of emails about opening a file with a lower case FH, I have
a
> question. I see everyone opening a file with an "or die" statement, what I
can
> fully
"Henk Van Ess" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear all
>
> I just uploaded the following .cgi to my server:
>
> #!/usr/bin/perl
> print "Content-type:text/html\n\n";
> print "Show me the monkey"; #this line prints the sentence "Show me the
monk
"Henk Van Ess" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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.
>
Also, if you use the proper transfer setti
"Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message
00cc01c22495$df0f63d0$[EMAIL PROTECTED]">news:00cc01c22495$df0f63d0$[EMAIL PROTECTED]...
> Hi all,
>
> I want to make a Perl script that generates a web page and prints it on
the
> screen.
> I want to include an SSI statement in that page.
>
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello there. Do you know where can I find a good Perl Network Programming
Tutorial??
Thank you.
"Network Programming with Perl", L. Stein.
http://www.amazon.com/exec/obidos/ASIN/0201615711/qid=1029118782/sr=1-1/r
"Soheil Shaghaghi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Dear Connie,
Hello and thanks again :)
I just wanted to show you and everyone else who is interested in this
subject a much better example:
http://www.iwebsupport.com/cgi-bin/dsx.cgi?app=Installer
"Jeremy M." <[EMAIL PROTECTED]> wrote in message
000401c24dfb$1124ce30$0302a3c0@mithril">news:000401c24dfb$1124ce30$0302a3c0@mithril...
> Hello folks, I'm not entirely sure this is the correct forum to post
> this in, but in all reality there isn't exactly an overwhelming
> community of Perl prog
"Jimmy George" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello World
>
> Is the line
>
> print DATAFILE ("The file was recorded at ");
>
> a valid cgi line
for a string like this, I would use single quotes:
print DATAFILE 'The file was recorded at '
Janek Schleicher wrote:
> Jimmy George wrote at Fri, 27 Sep 2002 00:36:42 +0200:
>
>> When we use commands such as
>>
>> $q->p("some line of text");
>>
>> when doing prints, is there any way of giving the output attributes such
>> as we can with css descriptors?
>
> e.g.
> $q->p({-style => '
Zentara wrote:
> On Fri, 4 Oct 2002 06:19:55 +0200, [EMAIL PROTECTED] (Octavian Rasnita)
> wrote:
>
>>Hi all,
>>
>>I've tried a sinple test script for testing the LWP module and I've
>>received the following result:
>>501Protocol scheme 'http' is not supported
> Here are a couple of examples. Y
Richard wrote:
> Hello
>
> I wrote a script that creates dynamic html. I validated the resulting html
> code with W3C and it couldn't validate it because it didn't detect the
> character encoding. I added the meta information to the header with
> the -meta argument:
>
> $q->start_html( -dtd =>
Todd Wade wrote:
> Richard wrote:
>
>> Hello
>>
>> I wrote a script that creates dynamic html. I validated the resulting
>> html code with W3C and it couldn't validate it because it didn't detect
>> the character encoding. I added the meta inform
Kevin wrote:
> Hello,
>
> I am in the process of developing a CGI application that requires user
> authentication. In the past I have developed a simple login screen where I
> validated the user and forwarded the request based on the result.
>
> I would like to progress to the next level and pa
"David Gilden" <[EMAIL PROTECTED]> wrote in message
news:r01050400-1023-E78ABED6164811D78F0D0003935B6868@[192.168.1.5]...
> Holiday greetings,
>
> I would like to be able to test for either of the two secret words
> but it seems to fail, what am I missing?
> Thanks
> Dave
>
>
> #!/usr/bin/perl
>
"Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message
002901c2abd3$c17cdcb0$[EMAIL PROTECTED]">news:002901c2abd3$c17cdcb0$[EMAIL PROTECTED]...
> Yes I know these, but ... it seems there is no solution.
>
> 1. The web server is not in the same group with me, and if it will be made
> to stay in th
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> On Thu, 23 Jan 2003 03:41:30 -0800 (PST), Will <[EMAIL PROTECTED]>
wrote:
>
> > Not about perl, but CGI...
> >
> > Does anyone know why it would be more secure n
"Zentara" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Mon, 30 Sep 2002 11:47:37 -0500, [EMAIL PROTECTED] (Scot Robnett)
> wrote:
>
> >Define "a lot of people."
>
> I just did a quick google search for javascript statistics, and most
> of the surveys show
"Tom McKellips" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> When I run it on the command line I get no errors. But Still the
Javascript
> fails to execute in the browser if it is generated from PERL. If I put the
> very same javascript in it's own html page and call it with a br
"Zentara" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sun, 2 Mar 2003 10:50:39 -0600, [EMAIL PROTECTED] (David
> Gilden) wrote:
>
> >Hello,
> >
> >I am not understanding why I am getting strange data from the my CGI.
> >Please point out what I have done wrong.
> >Thanks
> >Da
"Casey West" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> It was Wednesday, February 26, 2003 when Robert Wideman took the soap box,
saying:
> : >> I have a cgi that need to accept only numeric values. ie +ve or -ve
> : >> real numbers.
> : >> Is there a quick and easy way to ch
"Uma Ramdoss" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hai,
> i am writing a simple browser using LWP::UserAgent
> i dont know how to make persistent connection. i think
> LWP sends connection-close header by default. i used
> keepalive header but no use. can anyone help w
"Wiggins D'Anconia" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hytham Shehab wrote:
> > hi guys,
> > i have multiple domain names - etc multiple sites - that i would
like to
> > share cookies inbetween, how can i - literally - do that, and is it
enough
> > to use HTTP::Cooki
"Aldekein" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I am writing a Perl program. The goal of it is to process streaming HTML
site
> (To describe - the document that you load never end - the new information
is
> added to the end and sent to the client connected, the
"Catriona Wordsworth" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi guys,
>
> Needing a little assistance with some issues I am having trying to get my
script to print variable details into and email generated by the script.
>
> so far the script generates the email with (sendma
"Camilo Gonzalez" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Okay, I'm still struggling here. My problem is I have a client who has a
> rather large tab delimited text file I am attempting to slurp up and
> place in a MySQL table. The file is almost 6 megs large but my ISP only
"Drieux" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> On Sunday, Sep 14, 2003, at 14:00 US/Pacific, Todd W. wrote:
> [..]
> >
> > Beacuse of @ISA being lexically declared, it can't inherit from other
> > modules. And remember, for a logical scope to be called a closure, you
> >
"David Gilden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> One final question here on my SQL -- PERL DBI
>
>
> the following is wrong -- it does not work !
>
> $sql = qq|insert into $table_name values
(null,now(),"$email","$name","$comments");|;
> $sql = $dbh->quote($sql); ## thi
"Dale Young" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello all,
>
> I have been trying include a 'server side include' in a cgi script used to
generate a html page with no success. I have redirected the output from the
script to a static html file which displays correctly in
59 matches
Mail list logo