Jump to content

newbie looking for help


tourbike

Recommended Posts

hi I am just learning php and I am stuck on a problem

 

basically I have two php programs running on different websites but i want to include one into the other I can move the programs into the same root directory using the

 

include( dirname(__FILE__) . "/file.php");

 

but i want to change this to

 

include( "http://www.example.com/file.php");

 

where www.example.com is a remote or separate site as i only want to include the file.php

 

how can i make this possible with just line of code ????

 

I have looked at the manual but seem to be lost

 

thanks for any feedback

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.