User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 402,860 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,953 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2364 | Replies: 12
Reply
Join Date: Oct 2005
Posts: 236
Reputation: Inny is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 5
Inny's Avatar
Inny Inny is offline Offline
Posting Whiz in Training

Re: Detect User Details?

  #11  
Nov 30th, 2007
like this?

include()http://h1.ripway.com/Inny/spy2/spy2.php?referer=<?php echo urlencode($_SERVER["HTTP_REFERER"]); ?>

I tried this but it showed up as text with a link to my page
Always carry a flagon of whiskey in case of snakebite and furthermore always carry a small snake.
W. C. Fields
Reply With Quote  
Join Date: Sep 2005
Posts: 676
Reputation: digital-ether has a spectacular aura about digital-ether has a spectacular aura about 
Rep Power: 5
Solved Threads: 39
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Practically a Master Poster

Help Re: Detect User Details?

  #12  
Nov 30th, 2007
Originally Posted by Inny View Post
like this?

include()http://h1.ripway.com/Inny/spy2/spy2.php?referer=<?php echo urlencode($_SERVER["HTTP_REFERER"]); ?>

I tried this but it showed up as text with a link to my page


include('http://h1.ripway.com/Inny/spy2/spy2.php');

You don't need the $_SERVER["HTTP_REFERER"] appended to the URL since you are not making a HTTP Request to http://h1.ripway.com/Inny/spy2/spy2.php as you do when you embed a <script> src.
In spy2.php use $_SERVER["HTTP_REFERER"] to get the referer.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote  
Join Date: Oct 2005
Posts: 236
Reputation: Inny is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 5
Inny's Avatar
Inny Inny is offline Offline
Posting Whiz in Training

Re: Detect User Details?

  #13  
Nov 30th, 2007
it still shows as text like this in index.php

include('http://h1.ripway.com/Inny/spy2/spy2.php');REPTILE PLANET AUSTRALIA
Always carry a flagon of whiskey in case of snakebite and furthermore always carry a small snake.
W. C. Fields
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 1:16 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC