I want to execute group of cmd command from php
for example, i'm going to open an image file from d:\pictures\
and "temp.jpg" is the file's name
In cmd, it's just about :
[code=dos]cd d:\pictures <enter>
temp.jpg[/code]
how 'bout in PHP??
here's what i've tried
[code=php]$command="cd d:\pictures";
system($command );
$command="temp. jpg";
system($command );[/code]
but it's not workin'...
i really need help for this, THX b4
for example, i'm going to open an image file from d:\pictures\
and "temp.jpg" is the file's name
In cmd, it's just about :
[code=dos]cd d:\pictures <enter>
temp.jpg[/code]
how 'bout in PHP??
here's what i've tried
[code=php]$command="cd d:\pictures";
system($command );
$command="temp. jpg";
system($command );[/code]
but it's not workin'...
i really need help for this, THX b4
Comment