-3

I want to execute one php file from my nant script. How can I do that.

Any body can help me with a sample code?

hakre
  • 193,403
  • 52
  • 435
  • 836
learner
  • 2,609
  • 4
  • 22
  • 23
  • Have you tried anything by yourself? If you run into any specific problems we can help. – FrankS Sep 06 '11 at 07:04
  • I tried using this . Here I again give the php in command line so it is not working. Thanks for your advise ;) – learner Sep 14 '11 at 10:12

1 Answers1

1

You want to use the <exec> task. You would use the same paramaters as if you were calling the PHP script from the command line.

Babak Naffas
  • 12,395
  • 3
  • 34
  • 49