brown2005 Posted March 15, 2006 Share Posted March 15, 2006 if i have the following:-header('location: 'http://www.mywebsite.co.uk/a.php'');can i do the following:-$config = 'http://www.mywebsite.co.uk';and then put the $config bit in the header() instead of [a href=\"http://www.mywebsite.co.uk\" target=\"_blank\"]http://www.mywebsite.co.uk[/a] Quote Link to comment https://forums.phpfreaks.com/topic/4989-header/ Share on other sites More sharing options...
hitman6003 Posted March 15, 2006 Share Posted March 15, 2006 [!--quoteo(post=355142:date=Mar 14 2006, 07:03 PM:name=brown2005)--][div class=\'quotetop\']QUOTE(brown2005 @ Mar 14 2006, 07:03 PM) [snapback]355142[/snapback][/div][div class=\'quotemain\'][!--quotec--]can i do the following:-[/quote]Yes.[code]header("location: $config");[/code] Quote Link to comment https://forums.phpfreaks.com/topic/4989-header/#findComment-17614 Share on other sites More sharing options...
brown2005 Posted March 15, 2006 Author Share Posted March 15, 2006 cheers hitman..all i needed was those magic " " god im a clown...cheers for the helprichard Quote Link to comment https://forums.phpfreaks.com/topic/4989-header/#findComment-17893 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.