This program is the server for the PhoneApp application developed in Embedded Wizard. This php server receive and send messages between phone devices. The messages are stored into a phpMyAdmin database.
To run this project you need a code editor and xampp.
I used Visual Studio Code, but feel free to use any other code editor you are familiar with. If you choose to use VSCode go the official page, download the installer and follow the setup steps.
Go the official XAMPP page, download the installer and follow the setup steps.
- Download this project or clone it:
git clone https://github.com/amalia-angela/PhoneServer.git
- Move it to the C:\xampp\htdocs directory. Name the folder "phoneServer".
- Open XAMPP Control Panel and start Apache and MySQL modules. Make sure the ports the modules are running on are free.
- Open a web browser, type localhost.
- Select phpMyAdmin database from the menu bar and run the sql query to create the database.
- The database will look like this.
- Open the project in the code editor.
- In DAO.php file change the username and password to your own.