Posted by toedipper on 11/14/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]
|