I'm trying to make a dynamic PHP redirect script, i've found some code but not completely helpful it gives me a forbidden error.
<?php
$pid = (varchar)($_GET['pid']);
header('Location: $pid');
?>
is the code in my php file i am passing $pid in the link address.
I cannot use javascript as some peeps disable this. any ideas?
TY
<?php
$pid = (varchar)($_GET['pid']);
header('Location: $pid');
?>
is the code in my php file i am passing $pid in the link address.
I cannot use javascript as some peeps disable this. any ideas?
TY