Copy Network Share W/ Diff. Creds To Local Folder?
| From: | Jason Paschal | Date: | Thu, 21 Feb 2008 22:48:37 +0000 |
| Subject: | Copy Network Share W/ Diff. Creds To Local Folder? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-269814@lists.php.net to get a copy of this message | ||
I'm building a web app on a windows server for a company.
an aspect of that requires grabbing a sound file from a network share, which
i attempted with a windows copy command via exec(), but PHP needs to be able
to pass the authentication credentials.
runas requires password interactivity, and i've looked at runasspc but that
costs for commercial use and was hoping to avoid it if possible.
is there a way to finesse runas with PHP? some trick to get PHP to offer
the password?
or is there some other clever way to make this happen?
Thank you,
Jason