NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
exec, passthrough, system etc


Joined: 10 Dec 2006
Posts: 37
Reply with quote
Hi,
Is it possible to run shell etc via PHPDock? I'm trying, but it doesn't seem to be working - the programs don't run at all.

Regards,
Andy
View user's profileFind all posts by Andrew PeacockSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7901
Reply with quote
All these functions work fine for me, including exec, passthrough and system.
Probably you did something wrong.
Try to debug your code using NuSphere PhpED.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Resolved


Joined: 10 Dec 2006
Posts: 37
Reply with quote
Thanks for getting back to me Dmitri.
I did some more testing, and I think I may have had the exe in the wrong place, and so the relative path I was using was incorrect. I now have the exe in the /web folder, and use the command.

system("debug.exe")

to run it successfully.

Regards,
Andy
View user's profileFind all posts by Andrew PeacockSend private message
exec, passthrough, system etc
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic