Solved

writing to server using .pl

Posted on 1999-01-28
1
172 Views
Last Modified: 2010-03-05
is it possible that twhenever someone enters my site (framed), i call a script (w/o activating from any buttons) to write to a server?
0
Comment
Question by:java_kevin
1 Comment
 
LVL 8

Accepted Solution

by:
jhurst earned 10 total points
ID: 1210338
Yes,

The simplest method is to embed something like the following in your html:
<img src=xxxx.pl width=1 height=1>

Thus, whenever the user looks at the page the image will be shown but the image will be only one pixel in size.  You can make the srcript just send the user a single transparent pixel.  Make as gif file that is just a single transparent pixel and have your script send this.

ALternatively, if you have no background:
<body background=xxx.pl>
the rest is the same as above.

This is the method that the various stats tools use, the only difference is that they usually want to show a real image and I assume that you do not.


0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question