Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2004-09-01, 09:17 PM   #1
T Pat
You can now put whatever you want in this space :)
 
T Pat's Avatar
 
Join Date: Aug 2003
Location: Paridise
Posts: 3,244
Send a message via ICQ to T Pat
Are Iframes Bad?

I've been looking for a solution to tieing a photo rating script into http://www.tijuana-tonight.com
I couldn't get SSl to do it becouse the whole directory needs to be included, and I think that's also why I couldn't get a php include to work.
I can make it work the way I want with Iframes is this going to effect many of my surfers?
T Pat is offline   Reply With Quote
Old 2004-09-01, 09:21 PM   #2
Surfn
If you don’t take a chance the Angels won’t dance
 
Surfn's Avatar
 
Join Date: Aug 2003
Location: Earth on occasion
Posts: 8,812
Send a message via ICQ to Surfn
Someone hacked into one of my sites and attached a virus to my templates with Iframe
__________________

Surfn's Links Are you a partner?

Surfn is offline   Reply With Quote
Old 2004-09-01, 10:50 PM   #3
GunnCat
You can now put whatever you want in this space :)
 
Join Date: Aug 2004
Posts: 547
Send a message via ICQ to GunnCat
iFrames can be very useful. We used to use one on our old cam site. Not all browsers support them though(at least back in those days).
GunnCat is offline   Reply With Quote
Old 2004-09-02, 04:53 AM   #4
venturi
No offence Apu, but when they were handing out religions you must have been out taking a whizz
 
Join Date: Apr 2003
Location: An Oasis atop a High Desert Mesa
Posts: 282
Send a message via ICQ to venturi
Hey Pat,

Can you post here what you're trying to include, or failing that PM me and I'll take a peak. IFrames should work but as mentioned they can be vulnerable. I'll do my best to find you a better solution.
venturi is offline   Reply With Quote
Old 2004-09-02, 09:43 AM   #5
T Pat
You can now put whatever you want in this space :)
 
T Pat's Avatar
 
Join Date: Aug 2003
Location: Paridise
Posts: 3,244
Send a message via ICQ to T Pat
Hi Venturi
I really appreciate any help
Is it possible to include a whole script?
The photo rating script is in a folder called raterank
I've tried these includes with no luck (nothing comes up)
<? include("http://www.tijuana-tonight.com/raterank/nextdoor/raterank.php") ?>
<? include("/raterank/nextdoor/raterank.php") ?>
<? include("raterank/nextdoor/raterank.php") ?>

These are the files and image folder used in the script
raterank/nextdoor/raterank.php
raterank/nextdoor/config.php
raterank/nextdoor/echorank.php
raterank/nextdoor/rate.php
raterank/nextdoor/echopics.php
raterank/nextdoor/mailform.php
raterank/nextdoor/sendmail.php
raterank/nextdoor/showpic.php
raterank/nextdoor/showall.php
raterank/nextdoor/topcat.php
raterank/nextdoor/viewpic.php
raterank/nextdoor/Images/ (folder)
T Pat is offline   Reply With Quote
Old 2004-09-02, 05:30 PM   #6
venturi
No offence Apu, but when they were handing out religions you must have been out taking a whizz
 
Join Date: Apr 2003
Location: An Oasis atop a High Desert Mesa
Posts: 282
Send a message via ICQ to venturi
Heya Pat,

Can you insert this into your HTML document and it show up? :

<?php echo "<h4>HI THERE PAT!</h4>"; ?>

Let me know if that shows up.
venturi is offline   Reply With Quote
Old 2004-09-02, 05:41 PM   #7
T Pat
You can now put whatever you want in this space :)
 
T Pat's Avatar
 
Join Date: Aug 2003
Location: Paridise
Posts: 3,244
Send a message via ICQ to T Pat
yep that worked this is what I got
HI THERE PAT!"; ?>
T Pat is offline   Reply With Quote
Old 2004-09-02, 08:15 PM   #8
venturi
No offence Apu, but when they were handing out religions you must have been out taking a whizz
 
Join Date: Apr 2003
Location: An Oasis atop a High Desert Mesa
Posts: 282
Send a message via ICQ to venturi
OK, that's not what I was hoping for. :/

Looks to me that your server's apache isn't setup to allow .PHP includes directly in HTML files.

Try this:
<!--# include virtual="raterank/nextdoor/raterank.php" -->

If that doesn't work, then we'll either have to:
1. Go with iframes.
2. Add an entry to htaccess to parse html for php
3. Get your server admin to adjust apache to parse for php.

Lemme know how this last experiment goes.
venturi is offline   Reply With Quote
Old 2004-09-02, 08:56 PM   #9
T Pat
You can now put whatever you want in this space :)
 
T Pat's Avatar
 
Join Date: Aug 2003
Location: Paridise
Posts: 3,244
Send a message via ICQ to T Pat
No that didn't work

The other script I have loaded on that site uses includes, could that be the problem?

<?
function BodyHeader($title)
{
?>


<?
// include the config files
include ("body.php");
include ("functions.php");
include ("config.php");
T Pat is offline   Reply With Quote
Old 2004-09-03, 07:27 PM   #10
T Pat
You can now put whatever you want in this space :)
 
T Pat's Avatar
 
Join Date: Aug 2003
Location: Paridise
Posts: 3,244
Send a message via ICQ to T Pat
Venturi
Thanx for the help
My long lost programmer is back
and I think he's got it all figured out.
__________________
How To Keep An Asshole In Suspense

I'll Tell You Later
T Pat is offline   Reply With Quote
Old 2004-09-03, 09:34 PM   #11
Pornstar Dames
A woman is like beer. They look good, they smell good, and you'd step over your own mother just to get one!
 
Join Date: Jan 2004
Location: UK
Posts: 58
As mentioned Iframes are exploitable the main risk with them is a cheating webmaster who uses them to install dialers or viruses though.

One thing to consider though is internet explorer 6 and above maybe even from 5.5 dont allow Iframes in the default security settings.
Pornstar Dames is offline   Reply With Quote
Old 2004-09-03, 10:07 PM   #12
venturi
No offence Apu, but when they were handing out religions you must have been out taking a whizz
 
Join Date: Apr 2003
Location: An Oasis atop a High Desert Mesa
Posts: 282
Send a message via ICQ to venturi
Hey Pat!

Sorry, I'm late getting back to you and glad you got it worked out!

Last night around 11pm my computer told me my hard drive disappeared into the Twilight Zone. Been fighting it all day. Turns out it was just the heat sink on my CPU fan was so clogged with crap the CPU was overheating. *whew* I'm behind on backups and that scared the crapola out of me.
venturi is offline   Reply With Quote
Old 2004-09-04, 02:26 PM   #13
T Pat
You can now put whatever you want in this space :)
 
T Pat's Avatar
 
Join Date: Aug 2003
Location: Paridise
Posts: 3,244
Send a message via ICQ to T Pat
Hard Drive Failure my number 1 fear
Glade it to hear you dogged that bullet
__________________
How To Keep An Asshole In Suspense

I'll Tell You Later
T Pat is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:29 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc