![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Nov 2004
Location: scv
Posts: 2,299
|
Any PHP or server gurus around tonight?
Is there a way to use an image to track what URL somebody came from when they view the page with the image on it? I created a php file which outputs an image and stores HTTP_REFERER, but this just shows the URL that the actual image is loaded on. I want to see the URL that they came from.
Any ideas? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
Confirmed User
Join Date: Sep 2003
Posts: 509
|
Quote:
Uhmm... I'd look at the http server logs. But that's just me. Why waste cpu cycles tracking shit that the webserver is tracking already? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Guest
Posts: n/a
|
maybe try something like viewimg.php?ref=<?php echo $HTTP_REFERER; ?> for the image location, then have viewimg.php load the image and get the referrer?
no idea if it works, never tried it, just an idea |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
salad tossing sig guy
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Nov 2004
Location: scv
Posts: 2,299
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jun 2004
Posts: 689
|
something like this:
Code:
<script type="text/javascript"> docref = ''; if (document.referrer) docref=escape(document.referrer); document.write('<img src="counter.gif?ref=' + docref + '">'); </script>
__________________
Webmasters! Looking for new affiliate programs to promote? Affiliate Program Search <-- Search for programs with FHGs, RSS feed, specific niche sponsors, ... |
![]() |
![]() ![]() ![]() ![]() ![]() |