![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Hmm
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
|
![]() 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... ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jun 2005
Location: ▓NY▓
Posts: 2,080
|
err nevermind.
__________________
Each persons' level of stupidity makes us different. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Join Date: Jul 2007
Posts: 492
|
w3schools.com visit this
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Hmm
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
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Oct 2002
Location: ICQ: 39-183769
Posts: 8,002
|
Quote:
__________________
![]() ![]() ![]() ![]() 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
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
sex dwarf
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})/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
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.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Hmm
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
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
sex dwarf
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})/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: May 2003
Location: Yo Mommas Pussy
Posts: 3,320
|
Quote:
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Hmm
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
__________________
/(bb|[^b]{2})/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: May 2003
Location: Yo Mommas Pussy
Posts: 3,320
|
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
Then a simple php include should suffice.
Do you want to include full pages though, or just snippets of html?
__________________
/(bb|[^b]{2})/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Hmm
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
|
full page
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
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})/ |
![]() |
![]() ![]() ![]() ![]() ![]() |