You are here: Re: Can anyone help me with this problem please....? « PHP Programming Language « IT news, forums, messages
Re: Can anyone help me with this problem please....?

Posted by Peter van Schie on 11/13/63 11:21

toedipper wrote:
>
> <? echo "<META HTTP-EQUIV=\"refresh\" CONTENT=\"6;
> URL=http://\"$dllink\" \">"; ?>
>
> This all work on paper but nothing happens. Basically I want to grab a
> file location url from my db and then start to download that file to the
> user. I am not sure if I am doing this right at all so help would be
> appreciated.

Hi toedipper,

Why are you adding double-quotes around the $dllink variable?
Try: <? echo "<META HTTP-EQUIV=\"refresh\" CONTENT=\"6;
URL=http://$dllink\">"; ?>

Also have you tried using header():

header('Location: http://' . $dllink);

Make sure to not output anything to the browser before calling header().

--
http://www.phpforums.nl

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация