Jump to content

Archived

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

ibanez270dx

[resolved] Quick Question...

Recommended Posts

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

Share this post


Link to post
Share on other sites
I'd use
[code]
<?php
header("Location: {$filename2}");
exit();
?>
[/code]

Not sure why the META refresh isnt working though.

Share this post


Link to post
Share on other sites
[code]echo '<META http-equiv="refresh" content="0;URL='. $filename2.'">';[/code]

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.