Jump to content

Archived

This topic is now archived and is closed to further replies.

brown2005

header()

Recommended Posts


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]

Share this post


Link to post
Share on other sites
[!--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]

Share this post


Link to post
Share on other sites
cheers hitman..

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

cheers for the help

richard

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.