php

Amf3Broker error and fix

I encounter this error in an AIR application which uses amfphp for remoting: The class {Amf3Broker} could not be found under the class path {/var/htdocs/amfphp/services/amfphp/Amf3Broker.php} I googled and found several links, but their suggestions d
Xu Cui
29 sec read

phpBB 3 spam filter

Standard phpBB captcha is broken. I modify it such that the user need to add the numbers in captcha images and enter the result (e.g. 1+2+3=6), instead of enter the original characters (e.g. ‘123’). Enter folder /includes/ucp edit file uc
Xu Cui
28 sec read

How to edit footer for phpBB forum and wordpress…

phpBB Where is the footer file? /styles/prosilver/template/overall_footer.html After change the file, you need to clear cache. How? Log in as administrator, enter Administration Control Panel. Click “Styles” tab. Click Template, Click Cac
Xu Cui
11 sec read

upload a file with php and AIR

Let’s say you want to upload a file to your server with your AIR program (using File.upload). On the server side you have a php script to handle the file uploading. A very common mistake is that the name of the file field in your AIR (by defaul
Xu Cui
24 sec read

amfphp bug? Negative integer becomes big positive

In local actionscript, if you have an object like: o.x = 6; o.y = -5; Then send this object to remote server using amfphp, the object becomes o = 6; o = 4294967290; This could be a bug…
Xu Cui
7 sec read