Forum Moderators: coopster

Message Too Old, No Replies

include require absolute

keeping absolute paths

         

soapystar

9:03 am on Sep 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



if a php include script calls a page from an outside domain, how do you keep those links absolute?

so if somedomain.com has a script
include 'otherdomain.com/page.html';

can the links on the otherdomain.com/page.html be kept intact and still point to paths on otherdomain.com

?

vincevincevince

10:44 am on Sep 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Look into <BASE HREF="http://www.otherdomain.com"> at the top of your page

soapystar

11:30 am on Sep 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



thanks!