Hi, I need to generate timetable in a web application project , i need to do achieve this by fetching data from db to generate xml file and gives it to command line of fet . I'm strucking here "how to pass generated xml to fet cmd line in php and to get the result".
:-\ :-\ :-\
Thanks in advance
Please write "fet-cl -?" in the terminal.
You will get a detailed description how to input the data and get the results by that command.
Please also check a php tutorial how to run an external prgramm.
For example here:
http://php.net/manual/en/function.exec.php
Yes, as Volker said, write "fet-cl.exe" or "fet-cl" or "./fet-cl" (the "-?" part is in fact an unrecognized option of FET command-line).
Or read the README file from the FET archive.
The easiest FET command-line usage is "fet-cl --inputfile=data.fet".
Thanks, i got an idea now, how to implement this :) :) :)