Jump to content


Photo

header()


  • Please log in to reply
2 replies to this topic

#1 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 15 March 2006 - 12:03 AM


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]

#2 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 15 March 2006 - 12:05 AM

[!--quoteo(post=355142:date=Mar 14 2006, 07:03 PM:name=brown2005)--][div class=\'quotetop\']QUOTE(brown2005 @ Mar 14 2006, 07:03 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
can i do the following:-
[/quote]

Yes.

header("location: $config");


#3 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 15 March 2006 - 06:30 PM

cheers hitman..

all i needed was those magic " " god im a clown...

cheers for the help

richard




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users