Help w/ exec() on Win2k, IIS5.

From: Date: Wed, 28 Mar 2001 22:30:22 +0000
Subject: Help w/ exec() on Win2k, IIS5.
Groups: php.general 
Request: Send a blank email to php-general+get-45953@lists.php.net to get a copy of this message
Using IIS5 on W2K Server, I can't get get the exec() or other similar commands to work. This is what I'm doing - exec( "dir/a-d/b $dir_name", $arFiles ) The array doesn't contain anything! I've tried it with cmd.exe before the command, but it just seems to get stuck in a loop! Can anyone tell me how to successfully use this command? Or if not, any other ideas on how to get the file names inside a directory into an array? Thanks in Advance, Shawn Sellars

« previous php.general (#45953) next »