in reply to Email on every page hit
now everytime your page is loaded your script will be called and an email will be sent to you notifying you.<img src="http://www.site.com/cgi-bin/email_page_hit.cgi?page=NAMEOFPA +GE.htm">
this code snippet will have your cgi print out an image in place of the html <img> tagprint "Expires: Fri, 30 Oct 1998 14:19:41 GMT\n"; print "Content-type:image/png\n\n"; open IMAGE, "PATH_TO_FILE/invisible.png" or die "ERROR $!"; binmode IMAGE; binmode STDOUT; my $buff; while(read IMAGE, $buff, 1024) { print $buff; } close IMAGE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Email on every page hit
by talexb (Chancellor) on Dec 05, 2003 at 19:47 UTC |