Quote Originally Posted by Cory View Post
Code: 
<?php

$link = $_GET["link"];

echo htmlspecialchars($link);

?>
.htaccess

Code: 
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*)/$ /link.php?link=$1
Someone could prolly make a better one.
Thanks! Works perfectly!
RNBxBeatz Reviewed by RNBxBeatz on . Help with script Hi, I want to make a script so that whenever i add anything to the end after the = it will change the page. ie. website.com/link.php?link=1234 and the html, which has a download button will change from the original mywebsite.com to mywebsite.com/1234 . So when the button is clicked it will take them to the new page which in this case is mywebsite.com/1234 Do you know how i can do this? Please help! Thank You! Rating: 5