Solved

writing to server using .pl

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PERL get the value for query 4 151
rename outfile before writing 2 72
instmodsh - listing perl modules 2 80
Perl: How to add backslashes to every period in a string 1 22
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…
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

803 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