| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| blunder -
 
 
 Joined: 13 Aug 2004
 Posts: 1
 
 
 | 
			
				|  Posted: Fri Aug 13, 2004 6:51 pm    Post subject: Webserver and pdf-downloads |   |  
				| 
 |  
				| Hello, i use Abyss web server to test my web-sites, but for example the download of an pdf document is not possible to test neither local nor in my local network.
 this line
 <a href='data/service/pdf_download.php?file=weg.pdf'>
 
 calls 'pdf_download.php' with this content:
 
 <?php
 header("Content-type: application/octet-stream");
 header("Content-Disposition: attachment; filename=".$file);
 readfile($file);
 ?>
 
 it works at my web-side, but not locally
 
 Anybody some ideas?
 
 Walter
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| aprelium-beta -
 
 
 Joined: 24 Jun 2004
 Posts: 383
 
 
 | 
			
				|  Posted: Sat Aug 14, 2004 4:16 pm    Post subject: Re: Webserver and pdf-downloads |   |  
				| 
 |  
				|  	  | blunder wrote: |  	  | it works at my web-side, but not locally
 
 | 
 What do you mean by "doesn't work"? Do you have an error message?
 _________________
 Beta Testing Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		|  |