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 Link to comment https://forums.phpfreaks.com/topic/17180-resolved-quick-question/ 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. Link to comment https://forums.phpfreaks.com/topic/17180-resolved-quick-question/#findComment-72759 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] Link to comment https://forums.phpfreaks.com/topic/17180-resolved-quick-question/#findComment-72760 Share on other sites More sharing options...
ibanez270dx Posted August 10, 2006 Author Share Posted August 10, 2006 awesome! Thanks for your help! Link to comment https://forums.phpfreaks.com/topic/17180-resolved-quick-question/#findComment-72773 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.