- What slider?
- What is B.O ?

Indeed, it's a bad idea to implement PHP on the front-end of everybody using the site.

And I'm locking this thread, since it's in the wrong forum. Please repost with a better formulated question in https://www.cnet.com/forums/web-hosting-design-coding/ (your question is about coding).