![]() |
![]() |
![]() |
||||
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 |
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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> ![]() [This message has been edited by TheFLY (edited 10-16-2001).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
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).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
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... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
So Fucking Banned
Join Date: Feb 2001
Posts: 1,104
|
Thanks! Are you 100% sure about the php redirect?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
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).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
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)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
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).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
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).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
So Fucking Banned
Join Date: Feb 2001
Posts: 1,104
|
Its not working - the target doman is not showing these hits. Any suggestions?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
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 ?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 |
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |