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();
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
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
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
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