You are here: Re: PHP-generated link to local file doesn't work when clicked on. Why? « All PHP « IT news, forums, messages
Re: PHP-generated link to local file doesn't work when clicked on. Why?

Posted by David Haynes on 05/26/06 18:46

wylbur37 wrote:
> I have several webpages of HTML code, many of them containing links
> to local files on my harddrive (just like the one show above),
> and they work just fine when the webpage is opened explicitly
> from the browser (and not passed through a local server).

Well... wouldn't this lead you to think about the web server blocking
the access to those files? I bet C:\pictures is not part of the normal
web space for your server. Try a simple page such as:

<html>
<head></head>
<body>
<img src="C:/pictures/xyz.jpg">
</body>
</html>

What do your web server logs tell you?

-david-

 

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

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