Solved

writing to server using .pl

Posted on 1999-01-28
1
141 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now