• 0

[PHP] spaces in filenames with exec()


Question

My mate who is a php noob is trying to exec() something on windows XP with a space in the directory name, EG. C:\program files\whatever.exe, but whenever he tries php will try to execuite C:\program.

He's tried putting the whole filename in a variable and making exec() execute it, but it still won't work.

Thanks, reply soon

Nick :)

Link to comment
https://www.neowin.net/forum/topic/515557-php-spaces-in-filenames-with-exec/
Share on other sites

7 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.