all groups > macromedia flash flash remoting > april 2006 >
You're in the

macromedia flash flash remoting

group:

AMFPHP


AMFPHP Nehhhh
4/18/2006 12:59:45 PM
macromedia flash flash remoting: 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.
Re: AMFPHP mae ling
4/26/2006 12:51:18 PM
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.

Re: AMFPHP nmariano
5/6/2006 6:07:59 AM
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.
Re: AMFPHP nmariano
6/10/2006 4:53:44 AM
AddThis Social Bookmark Button