You are here: Re: Anti Leech php script « PHP Programming Language « IT news, forums, messages
Re: Anti Leech php script

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация