Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-14-2007, 12:58 PM   #1
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
html/php - iframes...

How to make something like iframe that will display the actual code of the other page in the source code? I think that there must be some html or php solution for that...

example
I don't want in the source code :
<iframe src ="/page.html" width="100%"> </iframe>

but :
code code code
code code code
code code and so on...


Sorry for my another noob question, I would search the answer myself but I'm not sure what exactly I am looking for... so...
__________________
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 01:03 PM   #2
ridikuloz
Confirmed User
 
ridikuloz's Avatar
 
Join Date: Jun 2005
Location: ▓NY▓
Posts: 2,080
err nevermind.
__________________
Each persons' level of stupidity makes us different.
ridikuloz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 01:04 PM   #3
ridikuloz
Confirmed User
 
ridikuloz's Avatar
 
Join Date: Jun 2005
Location: ▓NY▓
Posts: 2,080
http://www.addressmunger.com/display_code/ here, use this.
__________________
Each persons' level of stupidity makes us different.
ridikuloz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 01:28 PM   #4
wateva
So Fucking Banned
 
Join Date: Jul 2007
Posts: 492
w3schools.com visit this
wateva is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 01:33 PM   #5
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
thank you, but this not exactly what I am looking for I don't want to display the source code to the viewer, I want the viewer to see the actual content like pics and whole formating as it is on the original page, I just want that source code for search engines and to be viewed when I click on the browser bar view/source...
__________________
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:08 PM   #6
Chio
Confirmed User
 
Chio's Avatar
 
Join Date: Oct 2002
Location: ICQ: 39-183769
Posts: 8,002
Quote:
Originally Posted by bbwebmaster View Post
thank you, but this not exactly what I am looking for I don't want to display the source code to the viewer, I want the viewer to see the actual content like pics and whole formating as it is on the original page, I just want that source code for search engines and to be viewed when I click on the browser bar view/source...
php include.
__________________

I seo'd my hair yesterday and today it's pr7!
RIP Texas Dreams

Are you a content producer or program owner sick of tube sites? Contact me on ICQ: 39-183769
Chio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:10 PM   #7
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Use CSS.

Make a div with a fixed size and this attribute:

overflow: auto;



Eh, nevermind. Thought you just wanted an iframe-like effect.
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:13 PM   #8
GeXus
Confirmed User
 
Join Date: May 2003
Location: Yo Mommas Pussy
Posts: 3,320
Use file_get_contents() in php... then display it on a page that you iframe... I haven't tested that, may not work... but there is definitely a way without emulating a browser.
__________________
GeXus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:24 PM   #9
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
Now you get what I want I will test both these php functions. Thank you for help.
__________________
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:24 PM   #10
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Some more info is needed, I think:

Is the file remote or local? If it's remote, you probably should retrieve it, store it locally and include it with a simple php include. If it's local, you can just use a simple php include.

Is the file a full html document or a snippet of html that uses the same formatting style as the page its in does? If it's a full html document, simply including it will most likely cause layout problems. If it's a snippet, it might still cause problems, but those should be easier to solve.
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:26 PM   #11
GeXus
Confirmed User
 
Join Date: May 2003
Location: Yo Mommas Pussy
Posts: 3,320
Quote:
Originally Posted by Libertine View Post
Some more info is needed, I think:

Is the file remote or local? If it's remote, you probably should retrieve it, store it locally and include it with a simple php include. If it's local, you can just use a simple php include.

Is the file a full html document or a snippet of html that uses the same formatting style as the page its in does? If it's a full html document, simply including it will most likely cause layout problems. If it's a snippet, it might still cause problems, but those should be easier to solve.
One word - Clueless.
__________________
GeXus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:29 PM   #12
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
Quote:
Originally Posted by Libertine View Post
Some more info is needed, I think:

Is the file remote or local? If it's remote, you probably should retrieve it, store it locally and include it with a simple php include. If it's local, you can just use a simple php include.

Is the file a full html document or a snippet of html that uses the same formatting style as the page its in does? If it's a full html document, simply including it will most likely cause layout problems. If it's a snippet, it might still cause problems, but those should be easier to solve.
It's a local php file
__________________
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:32 PM   #13
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally Posted by GeXus View Post
One word - Clueless.
Three words: eat shit, noob.
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:33 PM   #14
GeXus
Confirmed User
 
Join Date: May 2003
Location: Yo Mommas Pussy
Posts: 3,320
Quote:
Originally Posted by Libertine View Post
Three words: eat shit, noob.
Fuckin' Mr. "One-Up" Libertine
__________________
GeXus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:34 PM   #15
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally Posted by bbwebmaster View Post
It's a local php file
Then a simple php include should suffice.

Do you want to include full pages though, or just snippets of html?
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:43 PM   #16
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
Quote:
Originally Posted by Libertine View Post
Then a simple php include should suffice.

Do you want to include full pages though, or just snippets of html?
full page
__________________

Last edited by Cyber Fucker; 09-14-2007 at 02:44 PM..
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2007, 02:53 PM   #17
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally Posted by bbwebmaster View Post
full page
Fuck.

Assuming that the page they're being included in is a full page with a separate design as well, you have a bit of a problem.

You could either get a custom include version that strips parts of html from the file being included (things like html tags, head tags, body tags, etc), or just strip it manually from those files and upload non-full versions as well, then include those.

The first version will require a bit of coding and will cause unnecessary server load, so I'd go for the second version if I were you. Of course, if there are many files, you might want to write/get a simple script that processes the whole batch.

Oh, and depending on the files being included and the ones they're being included in, there's the possibility of conflicting code.
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.