Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 937089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:25:10+00:00 2026-05-15T21:25:10+00:00

I am creating application in facebook using iframe. In that i want to redirect

  • 0

I am creating application in facebook using iframe. In that i want to redirect from one page to another. i m using following code:

<fb:redirect url='http://....' />

but this is not working and instead of redirecting it stays on same page.
so i used following code:

header("Location: http://.......");

this is working properly but problem is that it doesn’t open in full window it opens in main window i.e address of first page in address bar and in that page in square it opens second page that is redirected to. can we give target=”_top” attribute in header function of PHP
Please help me….

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T21:25:11+00:00Added an answer on May 15, 2026 at 9:25 pm

    You need to add die();

    header("Location: http://.......");
    die();
    

    Your current page will not stop rendering when you change any header. It will just set the header – as long as there is nothing already renderd!
    Please be sure that you don’t have any html output before setting this header redirection!

    And this code will only be executed if the IFrame is reloaded / you click a link or do a form submit to the same page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using visual studio 2008.I am creating a facebook application.For that I have
I am creating a facebook application in asp.net. I want that when user login
i am creating a iphone application using Facebook SDK.I want to post message to
I'm creating a html5 application using PhoneGap..i want to integrate facebook into my application.
I am creating Facebook application which get insights for user's page for multiple metric.
I'm creating a Facebook application that uses many calls to Facebook's asynchrunner class. As
Ok guys I'm creating an application in CodeIgniter that utilizes the Facebook SDK, both
I am creating a java application with RestFB. At this url, Facebook explains how
I am creating a poll script for a facebook fan page: http://www.facebook.com/apps/application.php?id=115400635147687&v=app_115400635147687 I am
I'm Creating a facebook application using apache-tomcat. I use the Java Facebook API. It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.