As long as the user that Apache is running under has NTFS read
permissions to the target folder, then you should have no problems. A
quick and dirty force method that I use would be something like this:
$file = "x:\\path\\to\\the\\file.pdf";
header('Content-Description: File Transfer');
header(
Hi Stut!
Exactly what does that mean? Do you have any references? Please send :-)
Best regards
/Gustav Wiberg
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 04, 2007 2:02 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; php-windows@l
[EMAIL PROTECTED] wrote:
I thought accessing files/directories above the www-root via the web was
impossible???
Directly yes, but you can proxy it through a server-side script.
-Stut
--
http://stut.net/
-Original Message-
From: George Pitcher <[EMAIL PROTECTED]>
To: Gustav Wiberg
I thought accessing files/directories above the www-root via the web was
impossible???
Tryst
-Original Message-
From: George Pitcher <[EMAIL PROTECTED]>
To: Gustav Wiberg <[EMAIL PROTECTED]>; php-windows@lists.php.net
Sent: Tue, 4 Sep 2007 12.04pm
Subject: RE: [PHP-WIN] open/do
Gustav,
> Windows 2003 Server/PHP 5.0.1
>
> Is it possible to download a file from a server that is at for
> example u:/documents/ which is not under the www-root?
> How would I reference that file. (I just want to open it -for
> example a word-file)
Yes, you can. I actually let my [registered]
Hi!
Windows 2003 Server/PHP 5.0.1
Is it possible to download a file from a server that is at for example
u:/documents/ which is not under the www-root?
How would I reference that file. (I just want to open it -for example a
word-file)
/Gustav
No virus found in this outgoing message.
Ch