Jump to content

execute file on server exec()


lioslios

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.