Facebook Canvas 应用程序将 Flash 变量保存到 Db

发布于 2024-11-25 09:35:44 字数 314 浏览 4 评论 0原文

我为 Facebook 制作了一个 Flash 游戏。当我在数据库中保存分数时,一切都发生了。我已将变量从 flash 发送到 php ,我认为这不起作用:

//这是我从 flash 发送变量的方式

loadVariablesNum("highscore.php?uid="+iduser+"&usc="+score, 0) ;

我已经在我的本地主机上检查过它工作正常。但是当我在 Facebook 上上传相同内容时,它不起作用。

我使用过 Php SDK 3,没有使用过 fbml。

带有对象和嵌入标签的嵌入式 Flash

I have made a flash game for facebook. All happened right expect when I am saving score in my Db. I had sended vars from flash to php , which I think is not working:

//Here is how i am sending vars from flash

loadVariablesNum("highscore.php?uid="+iduser+"&usc="+score, 0);

I had check it on my localhost its working perfectly. But when I upload same on facebook it doesnot work out.

I had used Php SDK 3 and havenot used fbml.

embeded flash with Object and Embed tags

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

财迷小姐 2024-12-02 09:35:44

尝试使用 php 文件的完整路径而不是相对路径。另外,尝试将 & 替换为 %26

Try using the full path to the php file rather than a relative path. Also, try replacing & with %26

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文