I’ve just came across a tutorial on how to integrate CodeIgniter 2.0.3 and AMFPHP 2.0.
This has a different and simpler approach from the one I was used to.
At the time of this writing, the most recent versions are 2.1.0 and 2.0.1 respectively, but everything should work fine as well with the most recent versions.
The tutorial itself has an error, but the files available for download are correct and work as expected.
It should read:
Download amfPHP (reloaded) and extract the Amfphp folder to the application/libraries folder of your CodeIgniter project.
Make a new folder in your application/controllers folder called amf
Inside the amf folder make a controller file gateway.php and a new folder called services.
Inside the services folder make a php file called testservice.php.
