Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FILE and UNC paths

Status
Not open for further replies.

skiflyer

Programmer
Joined
Sep 24, 2002
Messages
2,213
Location
US
I have a function which reads files and gets some information out of them... before I called...

file("
now that URL is no longer available to me, and I need to use a UNC path
file("\\\\theserver\\thedirectory\\info.txt");

but this doesn't seem to be working, can anyone suggest a method to get the same results from php as the above working example?

Thanks,
Rob
 
Will try, though I'm starting to think this may be a permissions issue... it is windows, so everything is a permissions issue it seems. Map a drive letter, sure but this user can't see it, use UNC sure, but don't go cross domain, well at least not in that direction... groan! If UNC's work I'll post it, if they don't I'll post a workaround. Thanks for the idea.

-Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top