Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to use filexists in php to check if a file exists on a network server.

It keeps coming back with false and I think this is probably to do with permissions, as it seems to work from localhost and not the webserver I'm running it from.

I've tried to log the World Wide Web Publishing on as a network admin, but when restart the service I get the error message

Error 1079: The account specified for this service is different from the account specified for other services running in the same process.

Basically I think I need permissions for the webserver(IIS) to be allowed to access folders on other network servers.

Any other ideas?

Thanks

share|improve this question
add comment

1 Answer 1

Got the answer just permissions setting as thought:

Go into the Properties for the IIS web-site, Directory Security tab. Edit anonymous access and authentication Edit the account used for anonymous access Select a network login account with the required privileges

sorted

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.