![]() Preserved Topic: JS to detect if a file exists?  | 
  |
|---|---|
| Author | Thread | 
| 
       Paranoid (IV) Inmate From: 127.0.0.1  | 
    
       
  posted 04-30-2001 17:23
      
      Greets!  | 
  
| 
       Maniac (V) Mad Scientist From: Rochester, New York, USA  | 
    
       
  posted 04-30-2001 17:40
      
      I don't believe so... that would be a server side function, you will have to delve into some simple perl or php to get this one done.  | 
  
| 
       Maniac (V) Mad Scientist From: Belgrade, Serbia  | 
    
       
  posted 05-02-2001 07:34
      
      Pugzly, I wrote a simpe CGI script that can check if PDF file is available and display link to it. You can download it from here:  http://www.max.co.yu/ozone/pdf.pl.txt  Before using it, you must configure two variables at the top of the script ($mainFolder and $mainURL). After that, you can call the script using SSI, like this: <!--#include virtual="/cgi-bin/pdf.pl?filename=bla.pdf" #-->  | 
  
| 
       Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden  | 
    
       
  posted 05-03-2001 02:25
      
      
     | 
  
| 
       Paranoid (IV) Inmate From: 127.0.0.1  | 
    
       
  posted 05-16-2001 17:59
      
      Okay. I have one question....  | 
  
| 
       Paranoid (IV) Inmate From: other places  | 
    
       
  posted 05-16-2001 18:08
      
      Is that Perl?  | 
  
| 
       Maniac (V) Mad Scientist From: Belgrade, Serbia  | 
    
       
  posted 05-16-2001 19:19
      
      
     |