lampbally Posted January 15, 2009 Share Posted January 15, 2009 I tried to execute the following line in php. exec( "smbclient -L server-name -Uusername%Password@2 -Wagi | grep -v '\$'", $output1, $return1); where username is my domain username Password@2 is my domain password server-name is the name of the server. 1) when i run this on apache, my domain password got locked. Is that because of '@' present in my password? (or) does php accept '%' along with the exec command? 2) i want the output to be listed can anyone help me with this. Link to comment https://forums.phpfreaks.com/topic/140978-exec-in-php/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.