Solved

Need CGI That Gives Name & Email Address of Web Visitors

Posted on 1998-09-03
7
205 Views
Last Modified: 2013-12-25
Is there a CGI script out there that you can run on your web site that will give you the visitor's name, email address, etc? I saw a web site called SiteGuest.com that supposedly does this.

Thanks.
0
Comment
Question by:TP090398
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 11

Expert Comment

by:mouatts
ID: 1828514
A CGI can only obtain the data present within the Environment variables, or within the fields of a form.

As neither the email address or name is present within the standard environment variables you can only obtain them by the user completing and submitting a form.

However what you can do is provide a link that does a mailto to your own account. The message will have the senders mail address wiithin it. However the user will be prompted before the mail message is issued so that they can prevent you from 'stealing' there email address.

Steve
0
 

Author Comment

by:TP090398
ID: 1828515
There was a program called WWWatch that was out there and claimed to do this. Also, the site I mentioned (SiteGuest) has been marketing this services and a few business associates on the Internet (who I know to have excellent reputations) are also trumpeting success with this service. It claims to be transparent. Again, if anyone knows about a CGI or Java script that gives you the name, email address, etc. of web site visitors, please help me out.

Thanks.
0
 
LVL 4

Expert Comment

by:rafistern
ID: 1828516
As far as I know, mouatts is right. You cannot get someone's email address without him filling it in on a form or sending a form using action="mailto:" in which case his browser opens his mail program and sends an email (with the address in the header). BTW, I very much _hope_ that there is no other way, because it would be heaven for email harvesters.
0
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 
LVL 4

Expert Comment

by:rafistern
ID: 1828517
I just looked at the siteguest site. It states that the user will be notified by his browser that he is giving over his address so it is probably done the way I said.
0
 
LVL 4

Expert Comment

by:rafistern
ID: 1828518
The following HTML/JavaScript will do the trick. Use your email address for the mailto. Insert the onload command in the <body> tag of the page. The dummy hidden field appears to be important for this trick to work, otherwise IE will open your mailing program instead of sending the form.

<body onload="document.forms[0].submit();">
<form enctype="text/plain" action="mailto:your@email.com" method=post>
<input type="hidden" name="dummy" value="">
</form>
</body>

You will receive an email from every visitor to your site with their name and email address in the header. Also IP information if you want it.

As it said in the siteguest site, the user will receive a popup notice that he is disclosing his email address.
0
 

Author Comment

by:TP090398
ID: 1828519
Thank for the responses, but I tried that code and it didn't seem to work. Was there something else I must set up? Was there something I missed? I need more help.

Thanks.
0
 
LVL 4

Accepted Solution

by:
rafistern earned 200 total points
ID: 1828520
What happened that didn't work? What did happen? Did you copy exactly what I posted? Please give a little more information.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

734 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