For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > May 2006 > Re: PHP-generated link to local file doesn't work when clicked on.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: PHP-generated link to local file doesn't work when clicked on.
Oli Filth

2006-05-26, 6:58 pm

John Dunlop said the following on 26/05/2006 16:02:
> wylbur37:
>
>
> I think - could be wrong - that Firefox doesn't follow file links,
> however they're specified, in resources requested by HTTP. It sits and
> does nothing. Dunno what other browsers do.


I'm not sure this makes any sense at all. By definition, a "file://"
link is not an "http://" link, and so doesn't involve HTTP.

As for why it doesn't work for the OP, though, I have no idea.



--
Oli
Oli Filth

2006-05-26, 6:58 pm

robert said the following on 26/05/2006 16:36:
> "Oli Filth" <catch@olifilth.co.uk> wrote in message
> news:k2Fdg.1306$zv2.529@newsfe4-gui.ntli.net...
> | John Dunlop said the following on 26/05/2006 16:02:
> | > wylbur37:
> | >
> | >> <a href="file:///C:/pictures/xyz.jpg"> Picture </a>
> | >
> | > I think - could be wrong - that Firefox doesn't follow file links,
> | > however they're specified, in resources requested by HTTP. It sits and
> | > does nothing. Dunno what other browsers do.
> |
> | I'm not sure this makes any sense at all. By definition, a "file://"
> | link is not an "http://" link, and so doesn't involve HTTP.
> |
> | As for why it doesn't work for the OP, though, I have no idea.
>
> actually oli, iirc the rfc for href is for a URI and not specifically a
> URL...where the resource could be even something as non-url as a javascript
> function.


Indeed, I'm aware of that ;) . However, I now realise that I've misread
John's post, so ignore what I said!


--
Oli
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com