I believe you can only get system() to work in PHP4 by running PHP4 as a CGI
rather than ISAPI/Module.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: "Kevin Connolly" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Tuesday, February 20, 2001 2:15 PM
Subject: [PHP] system() PHP newbie!!


Hi,
I want to use the system() command for some encryption! I can't get it to
work and so am trying to just get the system() command to run any program!!
There is not much (in the way of examples) on the php page and was wondering
if any one could give me a few pointers? I have an apache server running on
win2000. If say I wanted to run a program called temp.exe in  the root
directory on my machine is it a matter of just adding the line:
system("C:/temp.exe")?? I have also tried system("C:\temp.exe)!! This is
probably a really silly question but I am new to PHP (and it is my first
scripting language!!) Could someone send me an example or tell me what I am
doind wrong?
Any assistance is very much appreciated,
Kevin Connolly.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to