Topic: How to integrate PHP "include" files using Gulp (or even w3-include-html, etc)?
infin80 free asked 3 years ago
Expected behavior Expecting php files to work properly with gulp & MDBootstrap Pro
Actual behavior PHP files are downloaded. Not displayed
Resources (screenshots, code snippets etc.)
You cannot just run PHP files in your browser even if they are served by the Node.js server. It's because your server can't recognize PHP files and don't know what to do with them that's why they'll be downloaded. To make it properly, you'll need to configure your server to handle PHP files. This is doable, but it's not recommended to render PHP files using the Node.js server. We also do not support that way
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.10
- Device: Desktop
- Browser: Chrome
- OS: Mac
- Provided sample code: No
- Provided link: No