note 40296 added to function.system

From: Date: Fri, 27 Feb 2004 19:57:11 +0000
Subject: note 40296 added to function.system
Groups: php.notes 
Request: Send a blank email to php-notes+get-65899@lists.php.net to get a copy of this message
Hi, I was trying to get the IE history from the PHP script. I wrote an exe in VB.NET which get the list from the registry. When I run apache using the local account, it doesnt work. But when I run apache using the admin account, it works. I know that makes sense. But is there a way on Windows to run an EXE using the system command with different privs? <html> <head> <title>Ashish's IE History</title> </head> <body> <?php $output = system( "D:\\Programming\\.NET\\VB\\IEHistory\\bin\\ IEHistory.exe", $retval); ?> </body> </html> Thanks ---- Manual Page -- http://www.php.net/manual/en/function.system.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40296 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40296&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40296&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65899) next »