[PHP] Carriage Return problem!

2005-04-12 Thread Dipesh Khakhkhar
Hi, I am using php to generate and xml output file from another xml file using xsl. The file is getting created properly and the xml instruction element is at 1st line. I am using ant to get the output remotely but it is adding one extra line i.e. carriage return. I checked everything in my

[PHP] Execute appliction and pass parameters to it!

2005-03-29 Thread Dipesh Khakhkhar
  Hi, I am trying to execute one application (bat file) and need to pass parameter to it. I want to put this into wrapper file which i can call over http. Can i do this? I tried the following: -- 1) $output =

[PHP] PhpUnit2 - Unit test framework

2005-03-24 Thread Dipesh Khakhkhar
  Hi, I am trying to use PHPUnit2 package under pear to run unit test for php scripts. Finally after pulling lotta hairs from my head, I am able to run phpunit command line utilty to run test. I am still not sure how to get the result of the test in xml (or text or html) format. phpUnit