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
https://forums.phpfreaks.com/topic/109706-newbie-looking-for-help/
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.