| | |
Iframe and virus
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2008
Posts: 136
Reputation:
Solved Threads: 0
Hai,
I had a php based website and my home page is index.php. In that index.php page I called an another page (inner.php) using iframe. And works fine. Now I had heared that goolge calculate iframe objects as the virus or something like that blacklist our website. Is there is any chance for that. Also please let me know is there is any other method for import a php in to the cell of an another php page other than the iframe method.
Thanks
Rajeesh
I had a php based website and my home page is index.php. In that index.php page I called an another page (inner.php) using iframe. And works fine. Now I had heared that goolge calculate iframe objects as the virus or something like that blacklist our website. Is there is any chance for that. Also please let me know is there is any other method for import a php in to the cell of an another php page other than the iframe method.
Thanks
Rajeesh
It's sure that google doesn't read iframes, but I can't say they think it are viruses, I also used iframes a lot, but people told me it was a bad habbit.
Solution: Use require(_once) or include(_once) instead of iframes, google will read those! and you don't see the difference.
I hope this will help you
Solution: Use require(_once) or include(_once) instead of iframes, google will read those! and you don't see the difference.
I hope this will help you
This is from the top of my head but try something like this:
Also in the file your embedding, do not have any body or head tags in the included file. So in the example above, file.php would have no body tags and no head tags.
php Syntax (Toggle Plain Text)
<div style="width:100%;height:500px;scrollbars;border-style:solid;overflow:no;overflow-Y:auto;background-color:#FFFFFF;border:1px;border-color:#AAAAAA;"> <?php echo file_get_contents('http://www.yoursite.com/file.php'); ?> </div>
Try not to bump 10 year old threads as it can be really annoying.
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
All of the following work:
PHP Syntax (Toggle Plain Text)
<?php require('./index.php') require_once('./index.php') include('./index.php') include_once('./index.php') ?>
Last edited by Kruptein; Sep 28th, 2009 at 6:33 am.
![]() |
Similar Threads
- Problem VIRUS ALERT (Viruses, Spyware and other Nasties)
- virus and web redirect (Viruses, Spyware and other Nasties)
- JS script virus (PHP)
- HELP!i can't get rid off trojans! (Viruses, Spyware and other Nasties)
- News Story: Google is a virus, claims Microsoft (Network Security)
- News Story: What’s on your iPod? Possibly a Windows virus… (Apple Hardware)
- News Story: Virus Bulletin Conference 2006: small scale Trojan attacks big concern (Network Security)
- "topantispyware" virus (Viruses, Spyware and other Nasties)
- Trojan Virus - WinFixer and popups (Viruses, Spyware and other Nasties)
- Error 317, Stealth.Hjack Virus - Tried your tips but... (Viruses, Spyware and other Nasties)
Other Threads in the PHP Forum
- Previous Thread: Php mysql connect
- Next Thread: Help a newb?
| Thread Tools | Search this Thread |
# 5.2.10 alexa apache api array beginner binary broken cakephp checkbox class clean clients cms code cron curl database date directory display dissertation dropdown dynamic echo echo$_get[x]changingitintovariable... email encode error fairness file files folder form forms function functions google href htaccess html image images include indentedsubcategory insert ip javascript joomla legislation limit link local login mail memberships menu mlm multiple multipletables mysql mysqlquery newsletters oop open paypal pdf persist php problem provider query radio random recursion remote rss script search server sessions sms sockets source space spam sql syntax system table tutorial update upload url validator variable video web youtube






