lioslios Posted February 5, 2012 Share Posted February 5, 2012 guys i wand to execute a program on my seerver, i use the $_SESSION['tmp'] = exec("print.exe", $results); and works but when i change the directory $_SESSION['tmp'] = exec("d:\\print\\user1\\print.exe", $results); dont work, works only in root directory, is any way to set the execution to other directorys?? thanks Link to comment https://forums.phpfreaks.com/topic/256487-execute-file-on-server-exec/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.