So basically all of my files have include('http://website.com/static/header.php') nav.php, and footer.php. It worked on my host, but now I’m hosting it myself on Ubuntu. It’s not working at all! In php.ini allow_url_include = On Can and yes the files are all there, and the cases are proper.
So basically all of my files have include(‘http://website.com/static/header.php’) nav.php, and footer.php. It worked on
Share
There is absolutely no need to include a file from a remote server for what you are trying to do. I would go as far as tell you to not do it. If you need some random banner as you state in your question just include the local file:
main.php
banner.php