|
Posted by Rik Wasmus on 10/07/07 01:00
On Sat, 06 Oct 2007 23:34:44 +0200, AlBen <caspionet@hotmail.com> wrote:
> Sorry
> May be I'not so good at explanig things
> But I think with a help of James I can already do something
>
> It's simple
> On may page I have a collection of external links (ex. cnn.com,
> bbc.com and etc)
> I would link to change my HTML links and to point not directly to
> these sites but (now I think it's clear) with a check of the request
> on the server.
> By the way how open the link in a browser if all is ok?
> I mean the user click a link, a part of PHP code checks on the server
> and what after?
> How to open it in a browser?
A pretty standard way to check 'outside links'.
Use a GET variable (post is possible, but unneccesary work) to a
redirection script, either hashed, plain, encrypted or unecncrypted,
whatever you like. In the redirection script, save everything from the
$_SERVER array you're interested in, and do the actual redirect by a
header redirect.
--
Rik Wasmus
Navigation:
[Reply to this message]
|