note 94742 added to function.exec

From: Date: Sat, 21 Nov 2009 15:11:01 +0000
Subject: note 94742 added to function.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-163169@lists.php.net to get a copy of this message
this problem i found in my forum.. hope this would help someone .. Windows only please <? if (isset($_POST['submit'])) { $temp=exec('c:/"Program Files"/"Internet Explorer"/IEXPLORE.EXE');//or die('error'); } ?> <html> <body> <form method="post" action="testing.php"> <input type="submit" value="Submit" name="submit"/> </form> </body> </html> i realy don't understand in the first.. but i found out.. the type must like type in command prompt open your command prompt and see if you want to change subdir.. you will type cd subdirectory or cd "sub directory" (if there space in there) ---- Server IP: 69.147.83.197 Probable Submitter: 118.137.0.8 ---- Manual Page -- http://www.php.net/manual/en/function.exec.php Edit -- https://master.php.net/note/edit/94742 Del: integrated -- https://master.php.net/note/delete/94742/integrated Del: useless -- https://master.php.net/note/delete/94742/useless Del: bad code -- https://master.php.net/note/delete/94742/bad+code Del: spam -- https://master.php.net/note/delete/94742/spam Del: non-english -- https://master.php.net/note/delete/94742/non-english Del: in docs -- https://master.php.net/note/delete/94742/in+docs Del: other reasons-- https://master.php.net/note/delete/94742 Reject -- https://master.php.net/note/reject/94742 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#163169) next »