Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » site in site


site in site

Reply
  #1 (permalink)  
Old 11-26-08, 11:05 AM
zodehala zodehala is offline
Wannabe Coder
 
Join Date: Mar 2007
Posts: 191
Thanks: 0
Thanked 0 Times in 0 Posts
site in site

how can i create site in site for example my site is zode.com i want to open google..com in zode.com

(for example katz.cd

for exmaple : this link http://katz.cd/download/2521867/App/Kaspersky-Internet-Security-2009-8-0-0-506/)

Last edited by Nico; 11-27-08 at 06:01 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 11-26-08, 11:07 AM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
Use an iframe.
__________________
Jerry Broughton
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 11-26-08, 12:30 PM
zodehala zodehala is offline
Wannabe Coder
 
Join Date: Mar 2007
Posts: 191
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by job0107 View Post
Use an iframe.
it can be created using php but how ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 11-26-08, 12:46 PM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
PHP is a scripting language used to add functionality to HTML.
Even with using PHP you still have to load the address of your website into an iframe.

You have to explain more of what your doing with PHP.

Are you fetching the addresses from a database or what?

In this example their using frames.
http://katz.cd/download/2521867/App/Kaspersky-Internet-Security-2009-8-0-0-506/

But you can also use an iframe as well.
__________________
Jerry Broughton

Last edited by Nico; 11-27-08 at 06:02 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 11-26-08, 01:09 PM
zodehala zodehala is offline
Wannabe Coder
 
Join Date: Mar 2007
Posts: 191
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by job0107 View Post
PHP is a scripting language used to add functionality to HTML.
Even with using PHP you still have to load the address of your website into an iframe.

You have to explain more of what your doing with PHP.

Are you fetching the addresses from a database or what?

In this example their using frames.
http://katz.cd/download/2521867/App/Kaspersky-Internet-Security-2009-8-0-0-506/]

But you can also use an iframe as well.
i am trying to say : it create using fopen command (maybe but i can not remeber)

Last edited by Nico; 11-27-08 at 06:02 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 11-26-08, 01:10 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,074
Thanks: 11
Thanked 88 Times in 83 Posts
You could use fopen(), but then you'd have to rewrite all paths (images/CSS/links/etc...) and that's quite a lot of work. Perhaps you can find a proxy script and modify it for your needs. It pretty much does what you need...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 11-26-08, 01:15 PM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
Quote:
Originally Posted by zodehala View Post
i am trying to say : it create using fopen command (maybe but i can not remeber)
I guess I don't understand then.

fopen, opens a channel to a file where you can get the contents of the file line by line.
Say a text file for example.

But if you want to view a web page inside another web page then you need to use a frame or an iframe.

You are going to have to be a little more specific at what you are trying to do.
__________________
Jerry Broughton
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #8 (permalink)  
Old 11-27-08, 05:53 AM
Yeroon's Avatar
Yeroon Yeroon is offline
Code Master
 
Join Date: Aug 2007
Location: Netherlands, Nijmegen
Posts: 850
Thanks: 2
Thanked 20 Times in 20 Posts
Be carefull opening the links. Both AVG and Symantec warned about malicious scripts on the link :


http://katz.cd/download/2521867/App/Kaspersky-Internet-Security-2009-8-0-0-506/ <!--- DONT FOLLOW
__________________
Feel free to thank people if they help you by clicking thanks at a post.
=================================
Make it idiot proof and someone will make a better idiot.
=================================
Realise the impotence of proof reading everything you publish

Last edited by Nico; 11-27-08 at 06:02 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #9 (permalink)  
Old 11-28-08, 10:18 PM
QualityEcommerce QualityEcommerce is offline
Newbie Coder
 
Join Date: Nov 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Is there a particular reason why you are looking to utilize PHP to accomplish this simple task? Is there a function or something you would like to do with the site when pulling it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE6 Bug? My center column drops to footer position goatchaps CSS 5 08-31-07 01:15 PM
How to get Indexed in Google Quickly rorycanyon General Advertisements 3 03-21-07 10:11 AM
Help with Google sn0wy The Lounge 6 12-23-06 10:55 AM
Need a gaming site as a partner site TellMe Traffic Exchange 0 07-28-04 08:30 AM


All times are GMT -5. The time now is 12:19 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.