Results 1 to 3 of 3
  1. #1

    Mapping networkdrive with PHP [please hurry boss is killing me]

    Dear All

    I am new to PHP and please help me in the following issues

    how 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
    Last edited by helpwanted123; 12-19-2006 at 07:58 AM.

  2. #2
    Join Date
    May 2006
    Teh Interweb
    Try putting your command for mounting the network drive in a batch file and running something similar to this:

    shell_exec("C:\\path\\to\\cmd.exe /c C:\\batchfile.cmd");

    [[email protected]] ~ $ cat .signature
    cat: .signature: No such file or directory

  3. #3
    Have you checked if you have sufficent privileges on you account (PHP) to do shell_exec ?

Posting Permissions

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