www.webdeveloper.com
Results 1 to 2 of 2

Thread: unable to read network file like '\\myfolder\\template\a.xxx' by php

  1. #1
    Join Date
    Mar 2008
    Posts
    1

    unable to read network file like '\\myfolder\\template\a.xxx' by php

    I have written a php script that read one excel file, write something on that file and save as file by particular name format.My program works fine in local machine.But when i tried to read the excel file from network folder for instance \\mydoman\\template\\a.xls ,the script faiis.I've used COM to read the excel file.Can anyone have any idea.Please help me.

  2. #2
    Join Date
    Aug 2006
    Location
    Michigan
    Posts
    1,046
    I would first check the permissions on the network folder and file. most of the time when PHP runs through the web browser is runs as nobody user which has very limited permissions.

    Another note: I really try to stay away from COM, it only runs on Windows (From my knowledge)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles