| 
	
 | 
 Posted by Chuck Anderson on 10/10/07 04:00 
Jeff Gaines wrote: 
> On 09/10/2007 in message  
> <slrnfgnddb.1h4n.usenet@debranded.larseighner.com> Lars Eighner wrote: 
> 
>    
>> In our last episode, <xn0fc8zbu1j3b5e002@news.individual.net>, the lovely 
>> and talented Jeff Gaines broadcast on comp.lang.php: 
>>      
> 
> How did you know that about me, Lars - we've not met :-) 
> 
>    
>> I sugget you try to navigate to the files with your browser alone.   
>> Bookmark 
>> one of them and then see if your corresponding link looks exactly like the 
>> bookmark. 
>>      
> 
> IE7 just shows the file path in the address bar: 
> D:\Temp\Listing.html 
> 
>   Firefox shows: 
> file:///D:/Temp/Listing.html 
> 
> IE7 uses DOS notation, Firefox Linux notation. Neither will navigate to my  
> links though :-( 
> 
>    
>> It may be that files with spaces require url encoding (ie. <space> = %20 ). 
>> That obviously is not your problem now because you are failing on files 
>> without spaces in their names. 
>>      
> 
> I've avoided files with spaces so far, that's the next hurdle. 
> 
>    
>> Anyway, when you see what your browser thinks a bookmark to the file should 
>> look like, you know what a link it can follow should look like. 
>>      
> 
> The link matches what nVU produces if I create the file manually. I just  
> wondered if it is not working because it is within a php file rather than  
> an html file. Mind you www type URL's work. Really weird, I'll have to  
> keep trying I think. 
> 
>    
 
I see you've found a better solution (using localhost), but this is a  
Firefox thing: 
http://kb.mozillazine.org/Links_to_local_pages_don't_work 
 
I took Firefox developers word for it (security risk),and ended up  
putting an alias in apache's httpd_conf file: 
 
Alias /cdrive/ "c:/" 
 
That allows me to use /cdrive/path to file 
 
--  
***************************** 
 Chuck Anderson • Boulder, CO 
 http://www.CycleTourist.com 
 The world is my country, 
 Science, my religion. 
*****************************
 
  
Navigation:
[Reply to this message] 
 |