Help needed in opening an url in another website !!

Reply

Join Date: Sep 2008
Posts: 33
Reputation: jyotiu is an unknown quantity at this point 
Solved Threads: 0
jyotiu jyotiu is offline Offline
Light Poster

Help needed in opening an url in another website !!

 
0
  #1
Feb 4th, 2009
Hi All,

First of all i'll tell you what i m doing ....

I ve a blog at http://myblog.blogspot.com/ ... now ... i am going to make simple website for myself and i want my blog to open inside my website ....

i tried using

  1.  
  2. <?php
  3. $remote = fopen("http://myblog.blogspot.com/", "r");
  4. fpassthru($remote);
  5. ?>

but this is not working properly .... i mean it is opening the blog in my web page but its not looking good .... in terms of my website style ....

For example .... its overriding my website's css and implementing the css and style of the blog ..... how do i fix it ?

Please help ......

Thanks a million in advance !!!!
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 10
Reputation: jagadishwor is an unknown quantity at this point 
Solved Threads: 1
jagadishwor's Avatar
jagadishwor jagadishwor is offline Offline
Newbie Poster

Re: Help needed in opening an url in another website !!

 
0
  #2
Feb 6th, 2009
Hi,
You are trying to keep whole page inside your page. So it's overriding because that page is just shown inside your page and that page contents all of the css style which the remote page have.
So Try other method so that you can access the content of that web.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 16
Reputation: seanansari is an unknown quantity at this point 
Solved Threads: 2
seanansari's Avatar
seanansari seanansari is offline Offline
Newbie Poster

Re: Help needed in opening an url in another website !!

 
0
  #3
Feb 10th, 2009
you could use inline frames in your website... but the major disadvantage is frames are not considered as SE friendly...
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 20
Reputation: Minolwen is an unknown quantity at this point 
Solved Threads: 3
Minolwen Minolwen is offline Offline
Newbie Poster

Re: Help needed in opening an url in another website !!

 
0
  #4
Feb 10th, 2009
Have you considered using php include?
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 4
Reputation: scottlpool2003 is an unknown quantity at this point 
Solved Threads: 0
scottlpool2003 scottlpool2003 is offline Offline
Newbie Poster

Re: Help needed in opening an url in another website !!

 
0
  #5
Feb 22nd, 2009
PHP includes are the best option. i-frames is not the best idea as Google doesn't index them well.

<?php include"includes/header.php;"?>
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC