unable to open program using php -


i have tried exec, system , not able open notepad even. using xampp on windows 7.

system("cmd /c notepad");

works here (notepad opened), should realize 2 things:

  • if you're running apache service, won't have notepad windows pop because service running user in non-interactive fashion.
  • it's normal no response long (perhaps indefinitely) because wait program finish. see proc_open or popen more control.

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -