Skip to content
WJunction - Webmaster Forum

Blocking a "TAG" from the URL!

Status
Not open for further replies.
Hey guys! i would like to ask how do i block a tag from the url?

If someone types down "?link=" in the url it will give them a forbidden page

So if someone types down like
www.example.com/index.php?link= <--you see the ?link=

I would like to block that and give them a forbidden page how do i do that?

But one thing is for sure.
I have a rapidleech site
and after the ?link=(HOTFILE,Megaupload link) here to download their stuff..

How do i fix that? i want the website to know that they type the "TAG" word and give them a forbidden page

I don't think referrer acutually work.
 

5 comments

you dont say what script your using.

To disable ?link= There will be a line something like
Code:
$link = $_GET['link'];
change to somthing like
Code:
$link = null;
or remove that part of the code.


Or
Code:
if ((isset ($_GET['link']))  {
echo "Not Allowed";
}
 
Ok thanks all

@gav0 your method is making my whole script malfunctioning.. it just crash my rapidleech with lots of error appearing on my homepage..

but i manage to block the website by banning it.
 
i don't see why you want to remove this feature, these parameters are usless unless used by your code.. just don't use them :/
 
Status
Not open for further replies.

About the author

D
Active Member · Joined
69
Messages
0
Reactions
6
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom