You are here: |OT| file links in HTTP-fetched resources « All PHP « IT news, forums, messages
|OT| file links in HTTP-fetched resources

Posted by John Dunlop on 05/26/06 20:29

[This whole thread was off-topic from the start. Marked so now.]

robert:

> actually oli, iirc the rfc for href is for a URI and not specifically a
> URL...

Right, that's what the spec says.

> where the resource could be even something as non-url as a javascript
> function.

We're drifting here. Since javascript isn't a registered scheme
name, if you wanted to argue that you're still playing by the spec, the
first hurdle is to point to a specification for javascript URIs. Once
you've done that, ask why it hasn't been registered. :-)

[re: file:///C:/pictures/xyz.jpg ]

> i think this doesn't work because of the additional / after file://

I don't think so, robert. The slash separates the hostname (here,
implicit) from the path part. Not including it might cause problems
with strict interpreters, but including it... doubt it.

http://www.ietf.org/rfc/rfc1738.txt

--
Jock

 

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

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