tom poe wrote:
> #!/usr/bin/perl -w
> print "Content-type: text/html\n\n";
> print "Hello World";
> $pwd = `pwd`;
> print "The Password is: $pwd\n";
>
> The single quotes around pwd on the right side of the = sign, are actually
> back-tics.
This won't work if the server doesn't chdir to director
Minor bug:
tom poe wrote:
>
> $pwd = `pwd`;
> print "The Password is: $pwd\n";
>
The Unix command "pwd" has nothing to do with passwords. It stands for
"Path to Working Directory".
Cheers
Stephan
--
Dipl.-Chem. Stephan Tinnemeyer
Lindenallee 20
24105 Kiel
Germany
--
To unsubscribe, e-mail
Hoi,
I was wondering if it is possible to execute perl-commands, from a html
or txt file, from another perl-script.
So i can write a generic perl-script which can read some ascii-documents
and execute the perl commands that exist in that ascii-document (with a
known pre- and postfix)
So we can cr
Peter Bosmans wrote:
> I was wondering if it is possible to execute perl-commands, from a html
> or txt file, from another perl-script.
> So i can write a generic perl-script which can read some ascii-documents
> and execute the perl commands that exist in that ascii-document (with a
> known pre-
try HTML::Mason. It kicks ass!
http://www.masonhq.com
Brent
Peter Bosmans
cc:
In a message dated Tue, 23 Oct 2001 1:16:49 AM Eastern Daylight Time, tom poe
<[EMAIL PROTECTED]> writes:
> $pwd = `pwd`;
> print "The Password is: $pwd\n";
>
Huh? I don't get it. pwd doesn't mean "password". It's "present working directory".
And how can you not know the path you need o
Prashant Kukde wrote:
>
> Hi ,
> I want to load my perl/ CGI script on production server. But, I dont know
> the root path...
> Is there anyway to get it using perl script or CGI script ??
if you're running apache, you can get the document root from the
environment variables:
print "Document
hey im really new to Perl and HTML and so far I've only learned the basics of the Perl
language. I have been aquainted with C++ however and the language is coming to me
pretty easily. My job on my webteam that we have for our school is to be the one who
writes the CGI-scripts. So far i have bas
In article <002c01c15be0$ace0cc60$a000330a@watertown>,
[EMAIL PROTECTED] (Matthew Mangione) wrote:
> hey im really new to Perl and HTML and so far I've only learned the
> basics of the Perl language. I have been aquainted with C++ however
> and the language is coming to me pretty easily. My jo
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Prashant Kukde wrote:
> > I want to load my perl/ CGI script on production server. But, I dont know
> > the root path...
> > Is there anyway to get it using perl script or CGI script ??
> if you're running apache, you can get the doc
You have to call the script from the form element:
--All of your fields or etc.. here--
or you could trigger it with a link
Login In
something like that.
-Original Message-
From: "_brian_d_foy"<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Tue Oct 23 10:00:47 PDT 2001
Subject: Re
Folk,
I'm not looking for how to do this, but I am just curious if anyone has
either done this or knows if it can be done.
We need to capture data from a website that happens to be a text file.
Currently we have to manually save the data via the browser, then
manually move the txt data and proce
--- Brian Jackson <[EMAIL PROTECTED]> wrote:
> Folk,
>
> I'm not looking for how to do this, but I am just curious if anyone has
> either done this or knows if it can be done.
>
> We need to capture data from a website that happens to be a text file.
> Currently we have to manually save the data
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> --- Brian Jackson <[EMAIL PROTECTED]> wrote:
> > We need to capture data from a website that happens to be a text file.
> > Currently we have to manually save the data via the browser, then
> > manually move the txt data and process it.
Ok perl gurus,
I am using the Net::SSH::Perl module for remote system maintenance. Has
anyone figured out a way to change the timeout value for the ssh connection.
The only thing I found remotely close to this is the option,
ConnectionAttempts, which is the number of tries to make per second, ho
Hi all,
I'm writing my first CGI script and am baffled why it isn't working.
It's a really basic cgi that has the user input form data in a couple
places, and these variables are used as arguments for another script
that I call after processing the form. The script creates another file,
and wor
> I am having a problem with a form I'm trying to use. It has a page
> where data is entered, a confirmation page, and from there the ability
> to go back and change or submit. The problem is that if a user goes
> back to the first page and then back to the confirmation page there are
> multiple
Hi,
I am trying to parse data in my data file. Every record start with the
"1" string and end's with "2".In between the data is separated by
delimiter "|" . I want to parse this file and get the record in one
variable and do some processing and than move for another record in file.
To
I am having a problem with a form I'm trying to use. It has a page
where data is entered, a confirmation page, and from there the ability
to go back and change or submit. The problem is that if a user goes
back to the first page and then back to the confirmation page there are
multiple values li
Hey~
I download IndigoPearl(APACHE), i figure out how
to use it but doesn't work, i did follow the
instrucctions, that tell me: add links of your
files...(*.pl) to an html page and try!
but i try with a simple hello world just for try.
#!/usr/bin/perl
print "hello world\n" ;
doesn't wo
Hey~
I've been trying to made a simple guestbook, i
copyed the whole code from "Learning Pearl"(O'Reillys
book) i uploaded to tripod and didn't work
show me this:
..
It looks like there was an error:
Your script produced this error: Can't locate CGI.pm
in @INC (@INC contains: .) at .
Hi all,
I know how to print the contents of a hash, but what if I wanted to print
the keys themselves that the hash is called from (delimited by tabs)?
This is how I print the contents of a hash (Thanks to Brett W. McCoy):
%params = qw(
i01 4
i02 5
i03 2
);
foreach (sort keys %params) { print "
On Wed, 24 Oct 2001, Shannon Murdoch wrote:
> I know how to print the contents of a hash, but what if I wanted to print
> the keys themselves that the hash is called from (delimited by tabs)?
>
> This is how I print the contents of a hash (Thanks to Brett W. McCoy):
>
> %params = qw(
> i01 4
> i0
there is no changes... shows me the same error!
thanks anyway...
tom poe <[EMAIL PROTECTED]> wrote: On Tuesday 23 October 2001 18:44, you wrote:
> Hey~
> I've been trying to made a simple guestbook, i
> copyed the whole code from "Learning Pearl"(O'Reillys
> book) i uploaded to tripod and didn
> From: [EMAIL PROTECTED] (Brett W. McCoy)
>
> On Wed, 24 Oct 2001, Shannon Murdoch wrote:
>
>> I know how to print the contents of a hash, but what if I wanted to print
>> the keys themselves that the hash is called from (delimited by tabs)?
>>
>> This is how I print the contents of a hash (Th
i changed. keep brings the same error...
steven mckean <[EMAIL PROTECTED]> wrote: pAuLyOYo wrote: Hey~
I've been trying to made a simple guestbook, i
copyed the whole code from "Learning Pearl"(O'Reillys
book) i uploaded to tripod and didn't work
show me this:
..
It looks lik
At 06:44 PM 10/23/2001 -0700, pAuLyOYo wrote:
>Hey~
>I've been trying to made a simple guestbook, i
>copyed the whole code from "Learning Pearl"(O'Reillys
>book) i uploaded to tripod and didn't work
>show me this:
>
>..
>It looks like there was an error:
>Your script produced this err
pAuLyOYo wrote:
>
> Hey~
> I've been trying to made a simple guestbook, i
> copyed the whole code from "Learning Pearl"(O'Reillys
> book) i uploaded to tripod and didn't work
> show me this:
Besides of spelling mistakes which Mel Matsuoka has already told you
about, it looks like for some st
Sunthari wrote:
> I really someone understands what I 'm trying to do
> with the codes below.Pls help me to troubleshoot the
> codes below.
Just my advice: when you post a message with such a meaningless subject,
without any information what do you actually have problems with, and
just paste 3 s
29 matches
Mail list logo