ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
||||
|
||||
FlexSim Webserver Example
Attached is a simple PHP website that shows an example of how you can interact with a FlexSim webserver through a custom webpage instead of just using the default webserver html interface.
The website also demonstrates the job scheduling capabilities of the webserver instead of just directly interacting with running instances of FlexSim. To set up this website, you'll need to use Apache or IIS. Personally, I used a Bitnami WAMP stack (https://bitnami.com/stack/wamp) to easily install and configure Apache, MySQL, and PHP on Windows. Within the directory is a file called "create_database.sql" that has SQL commands that you need to execute on the database to create the database structure used by the website. (The Bitnami WAMP stack includes phpMyAdmin, which is a web interface where you can interact directly with the MySQL database and execute the SQL commands.) Anyone is welcome to use any or all of this code to develop their own custom websites to interact with the FlexSim webserver. Last edited by Phil BoBo; 03-11-2016 at 06:00 PM. |
The Following 11 Users Say Thank You to Phil BoBo For This Useful Post: | ||
Tom David (08-25-2014) |
Thread | Thread Starter | Forum | Replies | Last Post |
the parameters of flexsim webserver configuration | oliver xie | Q&A | 5 | 01-20-2015 09:36 AM |
FlexSim Webserver | Nicole Witkowski | Q&A | 2 | 06-20-2013 09:17 AM |
Flexsim Webserver & Virtual Box | michaelsmith | Q&A | 0 | 11-08-2012 01:10 AM |