Jump to content

php echo problem


Drobilliard

Recommended Posts

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 ;D cheers in advance

Link to comment
Share on other sites

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?

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.