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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.