Zubrag.com
July 16, 2019, 05:15:31 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Why can't I get PHP script working in iFrame?  (Read 4872 times)
rfoszcz
Newbie
*
Posts: 1


« on: September 12, 2008, 01:47:36 PM »

Background: Host of the domain supports PHP (I have same email script working on a website with a straight-forward <a href> tag loading into a separate page)...

Problem:

I've been playing with getting an email PHP script working in an iframe but haven't had any luck doing so successfully (or at least the way I intended). The iframe statement is:

<iframe src="scripts/contactform.php" width="100%" height="450" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="1" scrolling="auto"> </iframe>

The form opens correctly in the frame, but then after 5 seconds or so spawns off another window (like the "target="_blank" html tag was used). I can't seem to find the reason for the PHP script to fire itself off into a separate window. I've attached the PHP source files for anyone to look at if you have the time...

ANY help would be appreciated by forum members...

Russ Foszcz

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC