dear all,
i just install apache 1.3.26 in win2k. the html documents are running properly but cgi
is not running. i have perl v5.6.1 installed. everytime i run a cgi script, the server
error_log says "couldn't spawn child process: c:/program files/apache
group/apache/cgi-bin/pizza.cgi". this er
Dear members of the list,
I have a question that will probably reveal how little (if anything) I know
about perl. Please forgive me if I am asking something akin to "will the sun
rise tomorrow" to a perl programmer...
I need to use a script on my web server (running RedHat 7.2) that requires m
Hi all:
I am considering which language to write a webmail mail program is a better choice.
Is there any article compare the two language developing a cgi program ?
Thanks !
Cliff
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
James Woods wrote:
>
> The code I was referring to was:
>
> foreach (@Draw) {
> s/\s+$//g; # remove all whitespace at the end of a row
> print "\n";
> }
>
Are you reading the data into an array in the script and then printing
the array using interpolation inside double quotes?
prin
Here's a sample CGI/Cookies script, originally taken from perlmonks (cLive).
Notice you don't need CGI::Cookie. You may need to refresh once to see the
set cookies. And don't tell my wife about the redheads thing, she's a
brunette. :)
#!/usr/bin/perl-w
use strict;
use CGI;
use CGI::Carp 'fatal
I usually use Session::Apache for that. It will allow for the creation of
session ID's, storing data, and retreival of data. You will need to set up
a table in a database, and then put some code in each page to fetch the
session ID from the querystring or cookie so that it can initialize the
ses
James Woods wrote:
> Putting that code in place of the chomp code that was suggested earlier
> produced the same result.
i just tried this test case:
# one with blank spaces, two with a tab,
# three with a \n, four with several \n's
my @Data = ('one ', 'two ', 'three
', 'four
');
fo
fliptop wrote:
according to a 'view source' on the above url, your hidden input params
do indeed have a new line on the end.
try this (instead of chomp):
foreach (@Draw) {
s/\s+$//g; # remove all whitespace at the end of a row
print "\n";
}
James wrote:
Putting that code in place of
Hi,
I am having a problem on a particular server with a subroutine being
'undefined' most (but not all) of the time. The error that shows up from
apache is:
Undefined subroutine &Apache::ROOT::perl::query_2epl::ReadParse called at
/usr/local... line 13
The subroutine, &ReadParse() is provided b
Hello!
i see in most PHP powered sites values like SID=02304028lkbah234, which is the
session id in most cases, is there any way to do the same in PERL?
Thanks
--
Hytham Shehab
Boex,Matthew W. wrote:
> is it preferred to have a cgi print the inital .html template page, or
> should i put it in the html dir, and point the FORM tag to the cgi. i know
> putting in the html dir will speed things up, no perl process to spawn. i
> will be using fast cgi in the near future...
is it preferred to have a cgi print the inital .html template page, or
should i put it in the html dir, and point the FORM tag to the cgi. i know
putting in the html dir will speed things up, no perl process to spawn. i
will be using fast cgi in the near future...
matt
--
To unsubscribe, e-
I have added all the debugging tools and it is still not enough info to
sort the prob. have you got a script that retreives variables that i could
look at?
cheers
On Tuesday 12 Mar 2002 6:48 pm, Stout, Joel R wrote:
> A good site for beginners...
>
> http://www.easystreet.com/~ovid/cgi_course/
James Woods wrote:
> Here is the raw text from my text file (the original source). It's
> created on a Windows machine (??in case that makes a difference with
> linefeeds vs. carridge returns??) then put on an apache web server.
>
> f|Gimlis Axe|p|fellowship/large/14gimlisbattleaxe.html
> f|H
I have manager to set a cookie containing a hash of 4 keys and 4 values.
This is the script i have to retrieve the cookies and modify the look of
the page using them. i have constructed it using bit frmo www.perldoc.org.
it keeps saying it cannot run because of something in the way i am
retievi
Here is the raw text from my text file (the original source). It's created
on a Windows machine (??in case that makes a difference with linefeeds vs.
carridge returns??) then put on an apache web server.
f|Gimlis Axe|p|fellowship/large/14gimlisbattleaxe.html
f|Hand Axe|p|minesofmoria/large/010
- Original Message -
From: "James Woods" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 10:56 PM
Subject: Re: mysterious leading spaces (same foreach problem w/ more
details)
> I used the following code to write out all my hidden fields.
17 matches
Mail list logo