I'm using PHP include this is working fine on my local but when I using include file as CDN like given below then it is not working. I don't know what is wrong with it.
This is working:
<?php include 'include/head.php' ?>
My Answer:
php
include 'file.php';
?>
If you want to include a file from a CDN link, you can use the following code:
php
include 'https://cdn.example.com/file.php';
?>
Make sure that the CDN link is correct and accessible from your server. If the CDN link is not working, you may need to check the permissions or the availability of the file on the CDN server.
© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog | Privacy Policy | Terms & Conditions | Contact Us
Create blog | Privacy Policy | Terms & Conditions | Contact Us
Rate this post
5 of 5 based on 3944 votesComments