Executing cgi from html

2002-06-30 Thread Rafael Cotta
Hi all, I have a dynamic page, with server side includes on it, but I would like to keep this with the .html extension and execute a small cgi to record the referrer and some other informations, once the hosting service I use offers CGI but not stats. Is it possible? I have already seen somethin

Re: Including External Pages

2002-06-30 Thread Kyle Babich
Yes, but I'm trying to do this from within a perl script. How would the file get parsed as .shtml and .cgi (or .pl)? On Sun, 30 Jun 2002 18:18:12 -0400, "Jim Lundeen" <[EMAIL PROTECTED]> said: > check out Server-Side Includes - particularly Include Virtual and Exec > CGI > (execute CGI). > > He

Including External Pages

2002-06-30 Thread Kyle Babich
What would I use to include external pages in my script? (like if I wanted to print the contents of faq.txt or log.cgi in my script) Is there a way to do the above except to include a php script instead of a txt file and have both the cgi and php function correctly? Thank you, Kyle -- To uns

RE: cgi probs

2002-06-30 Thread Scot Robnett
Ian, Which version of Apache? 1.3.x, or 2.x? Here is where to find the documentation: http://httpd.apache.org/docs-project/ Most changes you would need to make in Apache are in the 'httpd.conf' file. Like Randal said, though, it's ultimately up to the browser how to process the file if there i

Re: Accepting cookies with LWP?

2002-06-30 Thread zentara
On Sun, 30 Jun 2002 06:27:27 +0300, [EMAIL PROTECTED] (Octavian Rasnita) wrote: >Hi all, > >I've tried to get a web page with the following line: > >use LWP::Simple; >my $page = get($path); > >The problem is that LWP gets another page telling me that I should login or >I should enable my browser

Re: HTML contents into Perl CGI

2002-06-30 Thread Connie Chan
So where do you "print out the data" ? In a console ( shell or dosprmpt ) ? or as a html page ? If that's the first case, it should not be happened unless you do something to elimate the \n operator If the second case, assum you should know, HTML will not auto break line even in your souce is

HTML contents into Perl CGI

2002-06-30 Thread jmpond
Hi, If this has been answered before please direct me there as I am at a loss as to where to look as there is so much info to plow thru. Situation: I am reading into my script via param() a textarea called Job Duties. When I print out that parameter in perl all of the new lines are ignored a