Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 02-14-2011, 06:41 AM
Contributing Member
Latest Blog:
None

 
Join Date: 10-29-10
Posts: 539
iTrader: 0 / 0%
IFRAME with externap PHP Source Not Working in IE & Chrome

I made an IFRAME with external PHP source for a section in a site:

I have a DIV that in it has an IFRAME... I want to use this to display some content on all pages. Sort-of-a sitewide linkbox...

Quote:
<iframe src="external.php" width="800" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0">
</iframe>
And the expernal.php file has several images, links, text in it and its own external .CSS file.

What happens:
IE and Chrome start downloading the external.php file whenever the page loads. Which is extremely annoying
And they do download the file, but after that, it still doesn't load: so the IFRAME is invisible...

Firefox works perfectly fine...

Normally there should be no downloading, the file should load, as any external file should!

How can I solve this?

Last edited by davelev; 02-14-2011 at 06:55 AM.
 
Reply With Quote
  #2 (permalink)  
Old 02-14-2011, 06:58 AM
Contributing Member
Latest Blog:
None

 
Join Date: 10-29-10
Posts: 539
iTrader: 0 / 0%
Tired changing the .PHP file to .JS, but the IE and Chrome browsers still download it!
 
Reply With Quote
  #3 (permalink)  
Old 02-14-2011, 11:46 AM
kos's Avatar
kos kos is offline
Coding Tiger
Latest Blog:
Happy New Year 2013

 
Join Date: 04-13-07
Location: .ro
Posts: 4,030
iTrader: 3 / 100%
i just tested this and it works perfectly for me in IE & chrome
 
Reply With Quote
  #4 (permalink)  
Old 02-15-2011, 12:03 PM
jkl6's Avatar
Member
 
Join Date: 02-15-11
Posts: 44
iTrader: 0 / 0%
Usually, the browser will try to download the file if it doesn't recognize the file type as render-able. Are you sure php is enabled?
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Chrome 2 Public. Here comes Chrome 3! StarLab Google Forum 10 06-09-2009 12:52 PM
open source like Facebook. How difficult is to make open source..? ernest1a Web Design Lobby 4 09-06-2007 06:42 AM
<iframe> not working on IE7 ? but on FF? JustRetarded Coding Forum 6 07-30-2007 05:58 PM
Two HTML similar codes , one working well and another not working why? Banjika Web Design Lobby 1 06-11-2005 07:14 AM
CSS Style not working for iframe HTML files... FantasyRealms Coding Forum 4 01-30-2004 07:50 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 02:54 PM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.