how to execute php file from c++ line? i've tried to use "system()" code, but showed no result.
from cmd line the command look like this
c:\program files\xampp\php \php4\php.exe c:\upload.php
it works in cmd, n i tried to put it into c++ with system() syntax, it looks like this
system("c:\prog ram files\xampp\php \php4\php.exe c:\upload.php")
i compile it, n it succeded, but when i tried to run the .exe file, it shows no result. any suggestion?
regards
from cmd line the command look like this
c:\program files\xampp\php \php4\php.exe c:\upload.php
it works in cmd, n i tried to put it into c++ with system() syntax, it looks like this
system("c:\prog ram files\xampp\php \php4\php.exe c:\upload.php")
i compile it, n it succeded, but when i tried to run the .exe file, it shows no result. any suggestion?
regards
Comment