Re: Open wont run

2001-03-27 Thread Ron Grabowski
Grrr, HTML mail.   Try sending the headers first so that the results from die() or warn() can be displayed by the browser.   print "Content-type: text/html\n\n"; writeCgiEntry();  

Open wont run

2001-03-27 Thread omar pereira
index.shtml     log/pl   sub writeCgiEntry {    my($logFile) = "log.txt";    my($script)  = __FILE__;    my($name)    = $ENV{'REMOTE_HOST'};    my($addr)    = $ENV{'REMOTE_ADDR'};    my($browser) = $ENV{'HTTP_USER_AGENT'};    my($time)    = time;     open(LOGFILE,">>$logF

(POSS OT) how to include the contents of another file

2001-03-27 Thread Jean-Paul Felix
I'm trying to build a page which grabs content from an internal server(IIS). I assume I cannot redirect as the internal server has a 10.x.x.x ip address. I've tried SSI but that seems to only work for local files (?). I've also tried a minimalist script but that just shows as a link. #!/usr/bi

NT Perl CGI Parallel processing...

2001-03-27 Thread Jones, Martyn
Title: NT Perl CGI Parallel processing... Hi,   I have been looking at Perl threads and IPC. I have played with the threads, and as the documentation states, it is unlikely to work. So I have closed of that avenue of investigation for the minute. Using IPC Open I can see a clear way for

How to set a cookie in LWP::UserAgent

2001-03-27 Thread Kamphuys, ing. K.G.
Hi all, I try to do post http requests to a server that needs a cookie value to be sent in the request in order to perform the required function. I know the name and value of the cookie. Question is how to send a cookie in the http-header using LWP::UserAgent. Reading through the code of UserAg