Sorry, but it was not. I am new to perl, and am still learning new things. It would be easier for me if you were to add the part I need to the program code above. I learn best when I see it in a finished programs. :)
I downloaded a script off the net that will display a random link taken from a text file. Here is what it currently shows:
open (QUOTEFILE, "<$data_location/$file") || die print "Could not open ad links file";
@line=<QUOTEFILE>;
close (QUOTEFILE);
srand;
$array =...
I have included that "$ENV{'REMOTE_ADDR'}" in the log part of the script and tested it. It doesn't work. Where should the part goBoating posted be in the whole mix? Should it be $FORM{'REMOTE_ADDR'}? Instead? What exactly is the part goBoating posted susposed to do?
I understood the...
Me again. I am running into problems figuring out how to make this script work. I am a total newbie, it is a wonder I've made it this far with my script. Here is just part of my large script:
use CGI qw/:new/;
my $cgi = new CGI;
print $cgi->header, $cgi->start_html...
I am haveing trouble figuring out how to get an IP address to be recorded, from a form. I want it to output to a log file. I've already gotten the script written and working, I just need help to figure that out.
I know of the "$REMOTE_ADDR" SSI command, but do not know how I would...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.