Small PHP Project

Status
Not open for further replies.

nocinc

Registered Member
Joined
Dec 26, 2010
Messages
85
Reaction score
11
PLEASE see attachment

it is a pretty easy project, shoild only take 5 minutes, i can pay with paypal insteat funds no echeck
 

Attachments

Last edited:
Put the following at the top in your PHP file.
Code:
<?php
if(isset($_GET['do'])){
//$redirectURL=$do;
$yoururl=$_GET["do"];
header("Location: $yoururl");
}
?>
 
Thanks bud, that what is was looking for and works great..
anything you need or are looking for? i might be able to help :)
 
hrmm actually it works with normal sites, but i guess i am trying to do something a little bit tricky, is there anyway to make it more look like they person clicked the link rather than it being a reidrect ?

this will still help, thank you :)
 
This is with PHP and javascript. The javascript makes the call from the client browser.

<?php
if(isset($_GET['do'])){
//$redirectURL=$do;
$yoururl=$_GET["do"];
echo '<script>location.href="';
echo $yoururl;
echo '"</script>';
}
?>
 
Status
Not open for further replies.
This thread has been auto closed due to the forum's thread age policy. Read more.
Back
Top