dongli9894 2010-10-13 01:03
浏览 39

如何用php读/写flash cookies?

I have a site where I require to bar some people from accessing it, and creating new accounts due to rampant abuse.

IP banning, setting cookies to identify people proved to be useless since they use proxies and clear cookies.

I would like to save the "ban cookie" into flash, and have php respawn the http cookie if the flash cookie exists. Is there some sort of php/flash API that will allow me to write cookies into flash, and have php read them?

  • 写回答

1条回答 默认 最新

  • drau67562 2010-10-13 01:29
    关注

    There are no PHP libraries for creating Flash files that support local shared objects (Flash cookies). The only PHP library for generating Flash files is Ming which does not support these.

    To do this, you will need to manually create a Flash file that creates a local shared object and put that Flash file on your web page.

    The easiest way to do this is to use the open source Flex SDK to compile an Actionscript file. You will need to learn a little bit of Actionscript to do this.

    You can see the API for local shared objects here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/SharedObject.html?filter_flex=4.1&filter_flashplayer=10.1&filter_air=2

    评论

报告相同问题?

悬赏问题

  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?
  • ¥15 matlab(相关搜索:紧聚焦)
  • ¥15 基于51单片机的厨房煤气泄露检测报警系统设计
  • ¥15 Arduino无法同时连接多个hx711模块,如何解决?