views:

45

answers:

2

Hi all,

I have a login form sitting in an iframe to $_POST the username/pwd to the parent window. But it seems the $_POST data is not being sent. I need this as the form logic sits in a Codeigniter controller and CI will also handle the loggedin view.

regards

+1  A: 
<form action="whatever" method="post" target="_parent">
Phil Sturgeon
A: 

Just set the action attribute of your form to the full http://url of your parent page. Basically what Phil is trying to say.

stef