FET Forum

FET Support (English) => Programming Help => Topic started by: narayan on September 19, 2016, 03:06:07 PM

Title: Running FET in PHP
Post by: narayan on September 19, 2016, 03:06:07 PM
I am newbie to FET, It's a great software for timetable . Thanks for giving this as a Open source . I want this FET to integrate to my application in PHP. What is the best way to do this?

Am' I  need to work on code base in C++ of FET source?, or  any way to make this working via command line ?

Thanks in Advance
Title: Re: Running FET in PHP
Post by: Liviu Lalescu on September 19, 2016, 03:21:22 PM
There is a command-line version of FET, fet-cl (or fet-cl.exe on Windows) - see the README file for usage, or write fet-cl on the command line prompt. You might want to use this, as modifying the sources is difficult. The basic usage is like "fet-cl --inputfile=file.fet".
Title: Re: Running FET in PHP
Post by: narayan on September 19, 2016, 03:32:54 PM
Thanks for your quick Reply  @Liviu Lalescu !
I will try your solution and will update soon .
Title: Re: Running FET in PHP with modified Input
Post by: narayan on September 21, 2016, 02:31:57 PM
Thank You , I feel great in this forum. Now I can able to generate the timetable via commandline in FET engine .
As of now in FET we can able to give  input as a FET type of XML file . I want to get the data from csv file or from database instead of .fet format file. can anybody suggest  me the best way to do this ?

Thanks in Advance !