Zubrag.com
February 08, 2012, 03:37:49 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: download script on IIS 7  (Read 2162 times)
gary7
Newbie
*
Posts: 1


« on: March 21, 2010, 09:00:25 pm »

March 21, 2010

Trying to get this to work correctly on IIS 7 using VS 2008 and asp.net web development server. PHP is enabled on IIS. So far the download.php script file opens without calling the desired file. The website is asp.net.

I'm calling the file like this:
<a href="php/download.php?f=PriceList.pdf">Price List</a>
The download.php file resides in the root directory as php/download.php.

Any suggestions as to how to get this working would be helpful!

Logged
1ststop
Newbie
*
Posts: 30


« Reply #1 on: May 03, 2010, 12:03:48 pm »

You need to ensure that the download directory where the download files reside is set correctly in download.php

It works best if the download directory is NOT in previous directories. E.g. Place your download directory in a sub-directory of the one that houses download.php
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC