Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

writing to server using .pl

Posted on 1999-01-28
1
Medium Priority
?
190 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 30 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…
Six Sigma Control Plans

885 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