Showing posts with label PHP Full URL. Show all posts
Showing posts with label PHP Full URL. Show all posts

Tuesday, 4 September 2018

The full URL does not work with php

So, I am trying to insert a file with a php include, but for some reason it doesn't work with the full URL.

This works:
<?php include 'menu.html' ?>
But this does not:
<?php include 'http://domainname.com/menu.html' ?>
Any ideas?

check php.ini -
but I have to say, if you don't have really really good reason, please don't use it. It's one of the worst php weaknesses, serious security threat.