du6029076877 2014-01-31 11:36
浏览 25

提交后,页面不会重定向(返回)到Facebook App中的主页面

I've a facebook App where a form is pull from my website. After submit the form in facebook it's showing success message. But In my process.php page i set header code to re-direct to my main facebbok page after showing success message. But it's not rejecting. Do you know why ? and is there any solution ?

echo "<div class='success'><font color='green' size='5'>Congratulation!. Successfully submited your 
recipe. Thank You.</font/></center></div>";
header("Refresh:5; url=myfbmainpage.php");
  • 写回答

1条回答 默认 最新

  • duannai5879 2014-01-31 11:56
    关注

    Try following:

    header("Refresh: 5;");
    header("Location: myfbmainpage.php");

    评论

报告相同问题?

悬赏问题

  • ¥15 目详情-五一模拟赛详情页
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line