Rob Tanner wrote:
--On 07/16/00 16:11:07 -0400 Sam Carleton [EMAIL PROTECTED] wrote:
I would like perl to process a php page before or after the php
interpreter get's it hands on the file. I am trying to add a navbar to
the PHP code. How would I go about doing that?
Sam
I have begun writting my first mod_perl module. I figured that I would
get the logic working perl first, considering I am new at the language
in general. Well, low and behold, I have a few syntax error which I
don't know how to resolve. One issue is how to declare a local
variable, and the
Alex Farber wrote:
Hi Sam,
Sam Carleton wrote:
I have a few syntax error which I
don't know how to resolve. One issue is how to declare a local
variable, and the other is a problem with my open statement.
maybe you should read some introductionary Perl
books, like http
Sam Carleton wrote:
Alex Farber wrote:
A good place to ask is news:comp.lang.perl.misc (after you've
read http://www.perl.com/pub/doc/manual/html/pod/perlfaq.html )
Maybe I have read things like "Programming Perl" from O'Reilly and
"Writting Apache Modules in Perl a
m m wrote:
folks allow me, Im the other newbie who was grappling
with Apache::NavBar the other day :-)
Ged will be proud, I persevered as he advised ;-)
Sam new to perl, welcome.
This maynot be the canonically right answer but for a
simple task like youre asking, you can just "warn"
I would like perl to process a php page before or after the php
interpreter get's it hands on the file. I am trying to add a navbar to
the PHP code. How would I go about doing that?
Sam
I have successfully gotten Apache/mod_perl to compile under Linux many a
times. This is my first attempt at compiling it on FreeBSD and I am
having problems. The problem is that when to do the "make test", apache
never starts up. I had once run into this on Linux and that was because
the
I have an apache question and I have NO idea where to post it. Is there
a newsgroup or mailing list simply for apache?
I have multipal domain names: domain.net domain.org. I would like to
configure apache such that when someone goes to www.domain.org, they are
"redirect" to www.domain.net.
Folks, I have installed mod_perl and I would like to access a DB2
server. What perl modules do I need to install? Are there any
tutorials out there to give me the basics of access DB2 from perl?
Sam
"Jason C. Leach" wrote:
hi,
There be truth to the reply. You can write all the C or ASM you like, but
your algorithm is where it will count. Anyone who knows how to do BIG-O
will know this.
A good perl programmer will code a bad C programmer under the table with
speed and eficiency.
"Jeffrey W. Baker" wrote:
On Sat, 29 Apr 2000, Sam Carleton wrote:
#! /usr/bin/perl
#cgi-lib.pl was optained from http://cgi-lib.berkeley.edu/
require "cgi-lib.pl";
If we can erradicate polio and small pox, surely there must be a way to
rid the world of cgi
I am learning perl/mod_perl right now and have some questions. I would
like to see all the functions that I can call on the Apache request
object. Can anyone point me to some documentation? I didn't see a
listing in "Writing Apache Modules in Perl and C".
Sam
Tobias Hoellrich wrote:
Almost :-) Apache cannot be used for multipart/form-data, gotta use
Apache::Request instead. Change the start of the handler to :
sub handler {
my $r = shift;
my $apr = Apache::Request-new($r)
and then get the params with
Tobias Hoellrich wrote:
Almost :-) Apache cannot be used for multipart/form-data, gotta use
Apache::Request instead. Change the start of the handler to :
sub handler {
my $r = shift;
my $apr = Apache::Request-new($r)
Tobias,
The new is blowing up on me.
Jeff Beard wrote:
Or read chapter 9 in the Eagle book.
--Jeff
At 10:43 AM 4/30/00, Tobias Hoellrich wrote:
At 01:34 PM 4/30/00 -0400, Sam Carleton wrote:
I am learning perl/mod_perl right now and have some questions. I would
like to see all the functions that I can call
up to the task, or able to give me some pointers on how
I can do this myself?
Sam Carleton
Sam Carleton wrote:
I am in a very tight spot right now. I need to have some C++ code
posting data to a web browser vi 'multipart/form-data' by Monday. I
would REALLY like to have either a normal perl CGI script or mod_perl
script that will simply display all the information POSTed
Doug MacEachern wrote:
On Tue, 11 Apr 2000, Sam Carleton wrote:
This is the error message I got when I compiled mod_perl:
Perl lib version (5.00503) doesn't match executable version (5.006) at
/usr/lib/perl5/5.00503/i586-linux/Config.pm line 7.
you either installed a new Perl after
Doug MacEachern wrote:
On Tue, 11 Apr 2000, Sam Carleton wrote:
This is the error message I got when I compiled mod_perl:
Perl lib version (5.00503) doesn't match executable version (5.006)
at
/usr/lib/perl5/5.00503/i586-linux/Config.pm line 7.
you either installed a new Perl after
I simply cannot get mod_perl/apache to compile. My understanding is
that I configure .makepl_args.mod_perl to compile both mod_perl. Then I
do the following:
perl Makefile.PL
make
make test
make install
Assuming there where no problems, all should be installed and ready to
go. But all is not
This is the error message I got when I compiled mod_perl:
Perl lib version (5.00503) doesn't match executable version (5.006) at
/usr/lib/perl5/5.00503/i586-linux/Config.pm line 7.
Compilation failed in require at
/usr/lib/perl5/5.00503/ExtUtils/MakeMaker.pm line 13.
BEGIN failed--compilation
I want to call traceroute to the remote_host from within a mod_perl
script, being a C/C++ programmer I don't the best way to do that. Is
there a traceroute object I could use? If so, how? Otherwise how do I
run traceroute from within a perl script?
Sam
Steven Champeon wrote:
On Fri, 7 Apr 2000, Sam Carleton wrote:
I want to call traceroute to the remote_host from within a mod_perl
script, being a C/C++ programmer I don't the best way to do that. Is
there a traceroute object I could use? If so, how? Otherwise how do I
run traceroute
I have followed the example in "Writing Apache Modules in Perl and C".
The module Apache::ESSI is working fine for a virtual site (development
site), but it does not work for the main (non-virutal) site. Here a bit
of my httpd.conf:
-
I have followed the example in "Writing Apache Modules in Perl and C".
The module Apache::ESSI is working fine for a virtual site (development
site), but it does not work for the main (non-virutal) site. Here a bit
of my httpd.conf:
-
I am trying to get the Apache::Magick module from the O'Reilly book
"Writing Apache Modules with Perl and C" to work. The error I am
running into is:
Can't locate object method "OPEN" via package "Apache" (line 80)
The looks real simply:
open(STDOUT, "=" . fileno($fh));
Any thoughts on what
darren chamberlain wrote:
Try using CORE::open to be sure that the default open is being called.
tried it, I am getting the same error, any more ideas?
Sam
Stas Bekman wrote:
Folks, please refrain from posting in HTML.
Some of us use email clients that post and read email in the old good text
mode. When I don't have enough time on my hands I delete such emails since
I cannot read them right away. Probably others too.
Please don't tell me to
I would like to have server-side includes to be parsed on DirectoryIndex
files. I have followed the example in "Writing Apache Modules in Perl
and C" and have my Apache::ESSI and this is what is in my perl.conf:
Files ~ "\.ehtml$"
SetHandler perl-script
PerlHandler Appache::ESSI
status
Running make install
Oops, make had returned bad status
---
Has anyone seen this error before? Any thoughts on how to fix it?
Sam Carleton
30 matches
Mail list logo