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 使用C#,asp.net读取Excel文件并保存到Oracle数据库
  • ¥15 C# datagridview 单元格显示进度及值
  • ¥15 thinkphp6配合social login单点登录问题
  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配