Re: Re: RE: Cannot access file on Network Drive (Windows 2003)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/24/07 11:04 AM, "Jared Farrish" <farrishj@xxxxxxxxx> wrote:

> Well, I'll say you've dramatically upped the ante by having an Apache server
> on a windows box attempt to mount and read a file on a MacOS machine. Yipes!
> 
> So let me get this straight:
> 
>  * Apache is on Windows Server 2003.
> 
>  * PHP is running on Apache.
> 
>  * A folder containing scripts/data/both is on a MacOSX machine.
> 
>  * A user from frontierland knocks on PHP's front host.com:80 door and says,
> "Please..."
> 
>  * PHP -> Apache: "Gimme gimme [resource P]"
> 
>  * Apache says, "Ok, let me get the data from location X."
> 
>  * Apache -> location X: "Pretty Please, gimme gimme."
> 
>  * location X -> Apache: "[barf]"
> 
>  * Apache -> PHP: "No luck."
> 
> ========

Jared, 

I think you got a little confused with a previous post of mine. Mac OS X is
Not in this scenario at all!!! So completely Eradicate it from this current
Scenario. 

This is a complete PHP/Apache on Windows 2003 Scenario. That's it!

So what it is supposed to be is:

* PHP5 / Apache2.2 on Windows Server 2003
* Folder on another Windows Machine on the Network contains some files
(mapped as network drive "X:\")
* PHP trying to read file on X:\ from Apache on Windows 2003.

There's really nothing else to it.

> Can you, from the Windows 2003 machine, manually access the folder/file that
> you're asking PHP (through Apache) to access? Unless the service that Apache
> is running under has permissions to communicate with the share resource
> (location X), this will always fail.

Yes! Without any problems! I can easily navigate to the X: drive on that
Windows Machine, and do anything I want with files there. I have all
permissions. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.

W: http://www.rahulsjohari.com
E: sleepwalker@xxxxxxxxxxxxxxxx

³I morti non sono piu soli ... The dead are no longer lonely²



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux