Sub structural search in PHP

User 1b64124363

07-05-2012 11:44:07

Can any1 help


Ssystem command is not working in PHP, but it is workinf f9 when i am running throgh command prompt


system('"C:\Program Files\ChemAxon\JChem\bin\jcsearch" -q "c1ccoc1" -f  sdf "C:\Xampp\htdocs\temp\441mcd.sdf" >"C:\Xampp\htdocs\temp\output.sdf"' );


system( '"C:\Program Files\ChemAxon\JChem\bin\jcsearch" -q "c1ccoc1" -f  :Tcd_id DB:monu -o "C:\Xampp\htdocs\temp\output.sdf"') ;

ChemAxon e07e2a364b

12-05-2012 07:02:57

Hi Seerat,


   I guess it is some PHP releated problem. If you replace our program with a dummy batch file (processing some parameters, reading some input, writing something to the system output), does that work?