Solved

writing to server using .pl

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Having a problem with ActiveState Perl on 64-bit Windows 7 3 68
problem with using the glob function 1 63
File Find regex problem 4 60
html form to write data to csv 24 95
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…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

919 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

14 Experts available now in Live!

Get 1:1 Help Now