PHP Scripts Development » General Web Development Forum

cannot use login.php within iframe

(4 posts)

Great offers not only for geeks!


  1. Hi,

    I am trying to put login.php into a html-page with an iframe. I'd like to exit the iframe if the login-process is done e.g. by "target=_parent". Unfortunately I don't know how to change the sourcecode, because the other pages will not executed by "a href" but by "header(Location)". Can anyone help me?

    Kind regards

    Thilo

    Posted 5 months ago #
  2. thats right, the Iframe has it's own session.

    Since you're able to use PHP/cURL, you don't to use an Iframe ;)

    Posted 5 months ago #
  3. Hi Olaf,

    thanks for yout fast answer. But how shall I integrate your classes in my pages?

    Kind Regards

    Thilo

    Posted 5 months ago #
  4. check the example files, you need to include some php in each page you want to protect

    Posted 5 months ago #

RSS feed for this topic

Reply

You must log in to post.