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 toedipper on 10/06/85 11:21

Peter van Schie wrote:
> 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().
>
Hello Peter,

Tried the two suggestion but still no joy. The page just sits there and
nothing happens. Am I correct in assuming that $dllink will correctly
pick up the url from my db?

Thanks,

td.

 

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

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