Jump to content

php include from a different website


bobcooper

Recommended Posts

Hi there,

 

I have a php file on my website that holds all the navigation elements for my website which are imported using php include, so if I want to change the structure of the site I do not have to edit every page.

 

I want to place an upload page onto my clients website (separate to my own) that uses the same php navigation file. I have tried using php include from the clients website to the php file on my website but it does not seem to import it.

 

this is the code i am using:

 

<?php include("http://www.bobcooper.org.uk/navi/naviBg.php"); ?>

 

anyone got any thoughts on this?

 

Thanks,

 

Bob

www.bobcooper.org.uk

Link to comment
https://forums.phpfreaks.com/topic/87726-php-include-from-a-different-website/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.