Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Lionsanime Directory   World's Leading Outsourcing Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 05-09-2004, 11:06 PM   #1 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
Redirect Script

is there a script for link redirections? This way I'll know exactly where my hits are coming from?
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 05-10-2004, 03:18 AM   #2 (permalink)
Inactive
 
Join Date: 10-12-03
Location: Cranberry Township
Posts: 275
iTrader: 0 / 0%
niceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really nice
Send a message via ICQ to niceguyeddie
why not use the referer data provided in the headers of each request?
niceguyeddie is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-10-2004, 07:45 AM   #3 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
Quote:
Originally Posted by niceguyeddie
why not use the referer data provided in the headers of each request?
well... i've seen many times when i've been referred to another website... the URL is something like www.domain.com/index.php?refid=joebloe

that is more what i'm talking about? how exactly do i go about doing this?
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-10-2004, 09:43 PM   #4 (permalink)
Inactive
 
Join Date: 04-20-04
Location: Russian Federation
Posts: 18
iTrader: 0 / 0%
Latest Blog:
None

Masterhard is liked by many
Quote:
Originally Posted by RichlineTechnical
that is more what i'm talking about? how exactly do i go about doing this?
"HTTP_REFERER" header contains URL of the page your page referenced from. If you exclude HTTP_REFERER entries with your own site URL (you will get them when your visitors navigates your site), you will get full list of sites your page was referenced from.

Also you can analyse your HTTP access log if you can get it.
Masterhard is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2004, 09:42 AM   #5 (permalink)
v7n Mentor
 
imaginemn's Avatar
 
Join Date: 02-18-04
Location: Minneapolis, Minnesota
Posts: 1,935
iTrader: 0 / 0%
imaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to all
Send a message via MSN to imaginemn Send a message via Yahoo to imaginemn Send a message via Skype™ to imaginemn
If I understand your question you are looking for a redirect script or example. Here is a simple redirect script.

<A href="http://www.domain_name.com/redirect.php?url=portfolio.asp">redirect</a>

<?php
$link = $_GET['url'];

header("Location: ".$link);
?>

Here is a redirect based on specific paramaters being passed.

<A href="http://www.domain_name.com/redirect.php?url=ok">redirect</a>

<?php

$redirect = $_GET['url'];

if ($redirect == 'ok') {
header('location:login.php');
} else {
header('location:nologin.php');
}
?>

There are so many ways to do this based on what you are trying to accomplish.

Michael (imaginemn)
__________________
Imagine Creative Services
Design : Marketing : Multimedia : More
imaginemn is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
accept post data from form, process, then redirect data to another script gnznroses Coding Forum 4 09-29-2007 02:39 PM
Redirect Script Jan1984 Coding Forum 8 06-28-2004 09:24 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 11:25 AM.
© Copyright 2008 V7 Inc