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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-16-2001, 12:21 AM   #1
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
Do redirected pages show referrer?

If I send a page from domainA to domainB which automatically redirects via javascript to DomainC, will DOmainC see the referrer as DomainB?
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 01:29 AM   #2
Techie Media
Confirmed User
 
Industry Role:
Join Date: Jan 2001
Posts: 3,092
Hypo, usually the referrer wont carry through in that situation. You may see some of the referrers show, but not all, when you redirect like that wierd things happen to the referrers.

------------------
Smile and Be Happy

Lightning Free Hosting
Gay Free Hosting
Girls Host
Techie Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 01:36 AM   #3
mika
Confirmed User
 
Join Date: Sep 2001
Location: Finland
Posts: 1,561
How about, if I link from page A to page B normally, and from page B to page C with metarefresh in 0 seconds, would it be possible (in theory) that page A would be shown as the referring page for page C?
mika is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 01:46 AM   #4
ldinternet
Confirmed User
 
Join Date: Apr 2001
Posts: 8,245
If you have a link on site A, which is forwarded via htaccess (deny all, then error 403) to site B, which is forwarded via htaccess to site C, which is forwarded via htaccess to site D... then site A will show on the referrers list.
ldinternet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 01:54 AM   #5
TheFLY
So Fucking Banned
 
Join Date: Jan 2001
Location: http://www.thefly.net/ --- Quit your job and live off steady traffic.
Posts: 11,856
works better w/ cgi redirect

------------------
<A HREF="http://www.thefly.net/topfly.html" TARGET=_blank>
Boneprone-4-Life Family Approved</A>

[This message has been edited by TheFLY (edited 10-16-2001).]
TheFLY is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 01:56 AM   #6
TheFLY
So Fucking Banned
 
Join Date: Jan 2001
Location: http://www.thefly.net/ --- Quit your job and live off steady traffic.
Posts: 11,856
meta refresh is unreliable anyway

TheFLY is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 02:05 AM   #7
manuelk
Confirmed User
 
Join Date: Jul 2001
Location: dot com
Posts: 146
Like TheFLY already said meta refresh is for linking realy not very nice. Copy past that PHP code into an file called for example 404.php and you will have your "redirect" system incl. refer forwarding.

<\?php
header ("Location: htp://ww.sponsor.net/");
?>

my 2 euro cents

(PS: remove the \ ..)

[This message has been edited by manuelk (edited 10-16-2001).]
manuelk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 02:14 AM   #8
TheFLY
So Fucking Banned
 
Join Date: Jan 2001
Location: http://www.thefly.net/ --- Quit your job and live off steady traffic.
Posts: 11,856
sweet...

php rulez..

is there a way to draw .gif files w/ php? ya know for graphs and neato stuff like that...
TheFLY is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 02:18 AM   #9
manuelk
Confirmed User
 
Join Date: Jul 2001
Location: dot com
Posts: 146
Of course there is - any special thing/solution you mean ? PHP with sql database backend is ma favorite thing to offer solutions.
manuelk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 02:21 AM   #10
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
Thanks! Are you 100% sure about the php redirect?
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 02:23 AM   #11
manuelk
Confirmed User
 
Join Date: Jul 2001
Location: dot com
Posts: 146
100% - yes ;o) code is displyed correct now (without the first \ of course) - the board removed the url things before.

[This message has been edited by manuelk (edited 10-16-2001).]
manuelk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 02:38 AM   #12
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
How do I make it work from html? I have the traffic coming to an html page and it will be difficult to change it to php for a couple of days.
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 02:40 AM   #13
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
Ok, can I have this - html page redirects using javascript to php page - php page rdirects using php to sponsor page? Will the sponsor receive my url that way?
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 02:42 AM   #14
manuelk
Confirmed User
 
Join Date: Jul 2001
Location: dot com
Posts: 146
HTML canīt do that for sure. If you want shoot me an email at [email protected] and I will host your PHP file on a domain till you got PHP enabled - if you reach over 100 GB / day we have to talk about it but before that its free of course ;o)
manuelk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 02:46 AM   #15
wiZd0m
Confirmed User
 
Join Date: Feb 2001
Location: Montreal
Posts: 1,526
Hi,

you simply cant depend on the HTTP_REFFERER, because it
might not be present at all (netscape tends to this somethimes,
or the users site have some sort of proxy which filters it out)
or might even be incorrect. Either by incorrect browsers
or simply by faking it. Please note: every header from
useragent can and will be faked if nessecary.

So SiteA -> SiteB can look like it's from Site C

Remember that it's purpose is to Allows the client to specify, for the server's benefit, the address (URI) of the resource from which the request URI was obtained. This allows a server to generate lists of back-links to resources for interest, logging, optimized caching, etc. It also allows obsolete or mistyped links to be traced for maintenance.

------------------
wiZd0m

Thunder Free Adult Hosting - Fastest servers in the industry

Fortune Pussy Adult Links - The best in adult links
wiZd0m is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 02:52 AM   #16
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
Manuelk,
I do have php on my server, but the page getting loads of traffic rigth now is html, and I cant change that at the moment without losingal the traffic.

So I want to tredirect it to a php page using javascript, and that php page redirects using php code to the target page.

So PageA.html javascript redirect --> PageB.php php redirect --> PageC.

Will Page C show PageB as referrer?

Wizdom,

I understand I cant rely on http_refrrer, but its all I have at the moment. So how can I fake headers? That will simplify everything.
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 03:00 AM   #17
manuelk
Confirmed User
 
Join Date: Jul 2001
Location: dot com
Posts: 146
wiZd0m is right of course. Hypo you can get what i think wiZd0m is talking about with that ..

Page A html -> Page B php -> Sponsor

Page A html will have a meta fresh of 0 a java script etc etc. - Page B shout work with the followign code:

<\?php
WRONG CODE (seel posts below)
?>

[This message has been edited by manuelk (edited 10-16-2001).]
manuelk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 03:12 AM   #18
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
What I have done is this - will it work? (All brackets replaced by square brackets)

Page A.html (getting the traffic) -

[SCRIPT LANGUAGE="JavaScript"]
[ !-- Begin
window.location="http://www.domain.com/redirect.php";
// End -->
[/script]
[noscript]


Page B.php

[?php
header ("Location: http://www.targetdomain.com/
?]

Should I change B.php and add the header code thingies?

[This message has been edited by Hypo (edited 10-16-2001).]
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 03:30 AM   #19
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
Now I replaced PageB.php with -

[?php
header ("Request-URI: http://www.domain.com/redirect.php
header ("Content-Location: http://www.domain.com/redirect.php
header ("Location: http://www.targetdomain.com/
");
?]


Will this work better?
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 03:42 AM   #20
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
Its not working - the target doman is not showing these hits. Any suggestions?
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 04:25 AM   #21
manuelk
Confirmed User
 
Join Date: Jul 2001
Location: dot com
Posts: 146
I donīt use java script too much so I am the wrong person to ask but about the php - do you get any errors (like is it not working) or does the refer just donīt show up ?
manuelk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 04:33 AM   #22
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
The php page is redirecting to the target page, but the target page is not showing the referrer as my domain.

Anyway, thanks for all the help!
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 04:34 AM   #23
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
I have the javascript redirect page before the php page, that might be the problem.
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 04:47 AM   #24
manuelk
Confirmed User
 
Join Date: Jul 2001
Location: dot com
Posts: 146
Of course its not working what I wrote - that are just two other commands to send the url to the browsers header in a better way - that code was complete wrong - sorry for that. I didnīt used the header function since some time.
manuelk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 05:16 AM   #25
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
Is it even possible to fake a referrer through someone else's browser? I understand you can fake the referrer using a cgi script requesting a page, but can it be done through a visitor's browser?
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2001, 05:51 AM   #26
Hypo
So Fucking Banned
 
Join Date: Feb 2001
Posts: 1,104
I've got an idea - with httaccess.

If I redirect a surfer from another domain to a non-existing page on my domain, and set the httaccess to send him off to the target, will the referrer be my domain?
Hypo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright Đ 2000- Jelsoft Enterprises Limited.