Jump to content

php exec in windows


karencho

Recommended Posts

Hello i have a question ,i am runnig Windows 7 i dont have installed no php ,no apache or other web server .... so i am wondering with php exec  can i run exe file on my system through web site ,for example click on link and it will run exe ?? or need to be installed php on the system?

Link to comment
Share on other sites

Um, what?

 

What you describe sounds an awful lot like malware, so it might be helpful to explain why you need this strange setup. What is this executable? Why should it be started from a website?

 

A website can't just run executables on arbitrary PCs. That would be horrible.

Link to comment
Share on other sites

So this a security question?

 

A PHP process on some server has no access to your system. Calling exec() only executes programs on the server. It doesn't magically start programs on other machines.

 

Compromising your system through a website requires either a browser vulnerability or a network-related vulnerability. Neither has anything to do with PHP.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.