Re: problem generating a file link

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



George Pitcher wrote:
> Jochem,
> 
>>> I have tried variations on the following:
>>>
>>> $storelink = "<a href=\"file://G:\\".$filename.".pdf\"
>>> target=\"_blank\">PDF</a>";
>>>
>>> and the link keeps coming out as:
>>>
>>> file:///G:/575991.pdf
>> is that what the browser (let me guess: IE) is interpreting
>> the link as or is that what is literally in the html source?
>>
> I'm using Smarty so the link doesn't appear as HTML as such. 

can't see what Smarty has to do with - can't remember Smarty 'cleaning'
file url's (at least not without being specifically asked).

besides Smarty is just outputting HTML so I don't understand your comment.

> This is what
> the browser (guessed wrong - I'm using Firefox) shows in the status bar.

ok, right - so what does the html source actually contain?

I'm assuming that the way firefox is interpreting the link makes it not work?
does the link work in IE?

> 
> George
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux