ibanez270dx Posted August 10, 2006 Share Posted August 10, 2006 Hi, Just a quick question... I need this to work, but it redirects to "$filename2" instead of "thename.xls". [code]echo '<META http-equiv="refresh" content="0;URL=$filename2">';[/code]What can I do with the quotes and stuff to make it work?Thanks, - Jeff Quote Link to comment Share on other sites More sharing options...
SharkBait Posted August 10, 2006 Share Posted August 10, 2006 I'd use[code]<?phpheader("Location: {$filename2}");exit();?>[/code]Not sure why the META refresh isnt working though. Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 10, 2006 Share Posted August 10, 2006 [code]echo '<META http-equiv="refresh" content="0;URL='. $filename2.'">';[/code] Quote Link to comment Share on other sites More sharing options...
ibanez270dx Posted August 10, 2006 Author Share Posted August 10, 2006 awesome! Thanks for your help! Quote Link to comment 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.