You should escape your backslashes in windows file pathes


Sincerely,

 Maxim Maletsky
 Founder, Chief Developer

 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com




-----Original Message-----
From: Christian Reiniger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 7:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] system() PHP newbie!!


On Tuesday 20 February 2001 21:17, Kevin Connolly wrote:

> 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

As you use double quotes here, PHP will interpret the "\t" in there as 
TAB character. Write "C:\\temp.exe" instead.

> send me an example or tell me what I am doind wrong? Any assistance is
> very much appreciated,

Well, it would help if you'd tell us what goes wrong - error messages, 
things it should do but doesnt ...

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

What luck for the rulers that men do not think.

- Adolf Hitler

-- 
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]



-- 
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