helpwanted Posted December 19, 2006 Share Posted December 19, 2006 Dear All,I am new to PHP and please help me in the following issueshow to map a network drive using php? .Please help URGENT!!I have tried witth shell_exec("net use y:/ //M1234/Myfolder").This is not working Any other way Link to comment https://forums.phpfreaks.com/topic/31217-mapping-networkdrive-with-php/ Share on other sites More sharing options...
zq29 Posted December 19, 2006 Share Posted December 19, 2006 Doesn't the Windows CLI use backslashes rather than forward slashes in its directory structures? Link to comment https://forums.phpfreaks.com/topic/31217-mapping-networkdrive-with-php/#findComment-144378 Share on other sites More sharing options...
helpwanted Posted December 19, 2006 Author Share Posted December 19, 2006 Is there any other code?can we help me on this?? Link to comment https://forums.phpfreaks.com/topic/31217-mapping-networkdrive-with-php/#findComment-144407 Share on other sites More sharing options...
craygo Posted December 19, 2006 Share Posted December 19, 2006 In order to use a shell command in windows you have to give execute permission to the cmd.exe command in the system32 folder. If you are using IIS then give IUSR_[u]computer_name[/u] permissison to the file then try it.Ray Link to comment https://forums.phpfreaks.com/topic/31217-mapping-networkdrive-with-php/#findComment-144412 Share on other sites More sharing options...
helpwanted Posted December 19, 2006 Author Share Posted December 19, 2006 It is still not working. I am tired of lookingAny more great ideas??PLEASE HELP Link to comment https://forums.phpfreaks.com/topic/31217-mapping-networkdrive-with-php/#findComment-144548 Share on other sites More sharing options...
kenrbnsn Posted December 19, 2006 Share Posted December 19, 2006 Is your web server the same machine that is mapping the shared drives?Ken Link to comment https://forums.phpfreaks.com/topic/31217-mapping-networkdrive-with-php/#findComment-144595 Share on other sites More sharing options...
helpwanted Posted December 19, 2006 Author Share Posted December 19, 2006 yeahany other command to map a drive using PHP?? Link to comment https://forums.phpfreaks.com/topic/31217-mapping-networkdrive-with-php/#findComment-144612 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.