Please register or login. There are 0 registered and 1547 anonymous users currently online. Current bandwidth usage: 326.30 kbit/s December 17 - 01:02am EST 
Hardware Analysis
      
Forums Product Prices
  Contents 
 
 

  Latest Topics 
 

More >>
 

    
 
 

  You Are Here: 
 
/ Forums / Programming /
 

  IFRAMES 
 
 Author 
 Date Written 
 Tools 
Jeremy Scharlow Dec 18, 2008, 05:23pm EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List Replies: 9 - Views: 1477
i have a HTML site and i want it to open and run a perl script that prints more HTML and displays it on the same page. I have done this using IFRAMES but i don't like this solution. Does anyone know another way to do this without IFRAMES


Want to enjoy fewer advertisements and more features? Click here to become a Hardware Analysis registered user.
Jeremy Scharlow Dec 18, 2008, 05:49pm EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: IFRAMES
I was also able to do this with the <object> tag, however from what i've read this also isn't gonna work on all browsers. Any thoughts ?

Bitmap Dec 18, 2008, 06:16pm EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: IFRAMES
Could you maybe be a little bit more specific? Do you have an example of the site up on the web?

________
"None of you understand. I'm not locked up in here with you. YOU'RE locked up in here with ME." - Walter Kovacs, A.K.A. Rorschach.
Dec 18, 2008, 06:19pm EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: IFRAMES
Yah ...

What exactly is to be printed? From the information at hand, this sounds like a job for PHP.

Bitmap Dec 18, 2008, 06:20pm EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: IFRAMES
Actually, you could even do it with Javascript, depending on what you want printed. Just use Javascript to load external data from another HTML file.

That is, if I understand you correctly.

________
"None of you understand. I'm not locked up in here with you. YOU'RE locked up in here with ME." - Walter Kovacs, A.K.A. Rorschach.
Dec 18, 2008, 06:27pm EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: IFRAMES
Well, yeah ... I suppose if you want to load the 'other' content from somewhere other than your server, Javascript would be the easiest.

For just "copy paste" including from a page on your own server though, PHP would be my choice (I like to keep stuff like server-side).

Bitmap Dec 18, 2008, 06:43pm EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: IFRAMES
The Showdown - So what's it going to be, Jeremy? Hmm? :P

I guess the main thing is what your server supports. If it doesn't support PHP, then it's Javascript or you're going to have to find someone else. Neither of us know Perl. :~

________
"None of you understand. I'm not locked up in here with you. YOU'RE locked up in here with ME." - Walter Kovacs, A.K.A. Rorschach.
Dec 18, 2008, 06:52pm EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: IFRAMES
I don't think you can just dump one file into another using Perl (at least not with one command). I think you'd have to open/read/print/close the file.

Where is this site hosted? Do you have root access to install PHP?

Jeremy Scharlow Dec 20, 2008, 11:20am EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: IFRAMES
www.campfirejim.com

the "box" with the dates is actually a perl script pulling the dates from a mysql database.

i used the <object> tag and set the type to text/html and data pointed to my script.

again i wanna achieve the same thing i have. just in a way that will be more browser friendly

Jeremy Scharlow Dec 31, 2008, 07:32pm EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: IFRAMES
i was able to achieve my goal using serve side includes. Had to do some configuration things on my server but i got it working.

Thanks


Write a Reply >>


 

    
 
 

  Topic Tools 
 
RSS UpdatesRSS Updates
 

  Newsletter 
 
A weekly newsletter featuring an editorial and a roundup of the latest articles, news and other interesting topics.

Please enter your email address below and click Subscribe.