Hello group,
I want to develop an authentication application which uses mysql
database to check for valid users. I have tried to use AMFPHP as described in
the following link :
http://www.macromedia.com/devnet/flash/articles/amfphp_02.html
I have made some modifications like as follows as i am using windows
$this->error_log_loc="C:/apache2triad/logs/error_log"; // location
of Apache error_log
$this->access_log_loc="C:/apache2triad/logs/access_log";
Gateway : http://localhost/gateway.php
Service : ServerInfoService
My directory structure is : c:\apache2triad\htdocs\gateway.php
C:\apache2triad\htdocs\flashservices\services\mysql_info.php
" \php_info.php
" \ServerInfoService.php
But when i add gateway and service in the service browser it can't connect ,
ie. i am not getting the methods of the service.
Pls. help me regarding this.
Thanks & Regards,
Nehal.
mae ling - 26 Apr 2006 13:51 GMT
Hi,
it seems you're using an old version of amfphp. You already tried the new
version? I also had some issues with the older one. I installed the new one and
it worked just great! Could you please provide me some additional information
concerning your site?
- 'htdocs' is your AMFPHP folder?
- What's the name of your class in 1- php_info.php ? 2 - ServerInfoService?
- I suppose you use authentication by flash and mysql, and not the apache
authentication. I'm not an apache specialist so
I don't use the second one ;)
Personally, I don't use the apache error logging, having no errors on that
level. Are you using NetDebug ?
If I know those params, I could better guess where the problem comes from, and
maybe help you.
nmariano - 06 May 2006 07:07 GMT
Can any of you guys give me a simple example of adding and viewing data using
amfphp. The example tutorials that I read were using complex AS which makes me
confused. Id like to learn from simple examples like a text field to display
data and another textfiled to add data on the server. Im just starting with
integrating data to flash and I only use loadVars but since I heard amfphp is
better I want to learn it.
nmariano - 10 Jun 2006 05:53 GMT
No need for an example I figured it out.