Drobilliard Posted December 10, 2007 Share Posted December 10, 2007 Hi there, Firstpost so forgive me if I have put this in the wrong place or summit. HOWEVER, I've got this problem thats slowly killing my mind, I've tried loads but can't figure it out. Anyhow, it goes like this, I am building a site for a client and I am using some basic PHP, nothing over the top, but he suddenly asked me to make half of his site out of a prebuilt template from a site called ian.com, it allows for me to template myself but I would prefer to use part of my work and chop and change between the two, so I have this totally unfinished page http://centurionflights.co.uk/_IAN/Header.php with an echo like so <?php echo @stripslashes( @join( @file( "http://travel.ian.com/index.jsp?cid=XXXXXX" ),"" ) ); ?> but as you will see when testing this the script isn't absolute so it adds to the end of my domain rather than pulling resources into the php echo, if that makes sense, so, my question is this. can it be fixed, is it simple, can you tell me what that would be? ;D cheers in advance Quote Link to comment Share on other sites More sharing options...
Crew-Portal Posted December 10, 2007 Share Posted December 10, 2007 Welcome to PHPfreaks by the way. I see its your first post. Anyways im sorry but i do not fully get whay you are trying to do? Could you please elaborate on your problem or post some of your code where you want the echo statement to go? Quote Link to comment Share on other sites More sharing options...
Drobilliard Posted December 10, 2007 Author Share Posted December 10, 2007 ok, sorry, its hard to explain, the address http://centurionflights.co.uk/_IAN/Header.php is two pages it is the header i.e the graphic and links at the top, and then it has an echo from www.ian.com as mentioned above, which is all of the text with no background and currently looks crappy, if you click on the link in the page you will see that the browser will say something like http://centurionflights.co.uk/index.jsp;jsid=abeJ5FLfi1ab_hNwrZeBr in the address bar, what that should say is http://ian.com/index.jsp;jsid=abeJ5FLfi1ab_hNwrZeBr, is there any way to get this echo, or even an include to act like an Iframe in the sense that the links will come from ian.com and keep their structure on the remote site but still allow me to use an include or echo, does that explain it a bit better? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.