am2jr Posted May 8, 2007 Share Posted May 8, 2007 How to execute files e.g exe on linux with using php code. Please show me the answer Link to comment https://forums.phpfreaks.com/topic/50434-how-to-execute-files-on-linux-with-using-php-code/ Share on other sites More sharing options...
neel_basu Posted May 8, 2007 Share Posted May 8, 2007 You simply cant execute exe files on linux. Link to comment https://forums.phpfreaks.com/topic/50434-how-to-execute-files-on-linux-with-using-php-code/#findComment-248115 Share on other sites More sharing options...
am2jr Posted May 9, 2007 Author Share Posted May 9, 2007 why..it is have related with security issue??, kindly pls explain more. what i need is the code to execute external files in linux e.g exe i will appreciate to any kind of helps and responds Link to comment https://forums.phpfreaks.com/topic/50434-how-to-execute-files-on-linux-with-using-php-code/#findComment-248703 Share on other sites More sharing options...
firemike Posted May 9, 2007 Share Posted May 9, 2007 I think he is referring to using something like exec(). http://us.php.net/manual/en/function.exec.php Link to comment https://forums.phpfreaks.com/topic/50434-how-to-execute-files-on-linux-with-using-php-code/#findComment-248706 Share on other sites More sharing options...
trq Posted May 9, 2007 Share Posted May 9, 2007 Yes you can use exec or other ralted functions to execute executables (external programs) in Linux (and windows for that matter). The point neel_basu was trying to make is that Linux does not use (nor need) file extensions. Programs with the .exe extension are made for windows. Link to comment https://forums.phpfreaks.com/topic/50434-how-to-execute-files-on-linux-with-using-php-code/#findComment-248707 Share on other sites More sharing options...
am2jr Posted May 9, 2007 Author Share Posted May 9, 2007 thanks for your respond. i will try to solve it Link to comment https://forums.phpfreaks.com/topic/50434-how-to-execute-files-on-linux-with-using-php-code/#findComment-248738 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.