MACROMEDIA FLASH MEDIA SERVER 2-INSTALLING FLASH MEDIA SERVER 2 Informações Técnicas Página 49

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 66
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 48
save the setting.
PHP Interface Description
There is PHP reserved interface. Through this, you can save the chat users' information
and chat history into your database on the website. And you also can check the user's
identity through the interface.
Flash Remoting technology which is based on open source library AMFPHP is used for
PHP interface. The following is the usage description:
1) Server Environment
Php (php4,php5) + mysql
Remoting gateway interface program: Amfphp 1.2
2) Server-side program
Remoting program file exists as class file, and it is placed in "Service" folder of amfphp
directory. Class file can be put directly in service directory, or it is can be put in the
individual folder in Service directory.
When Flash client invoke the method of the program object on the server, the class path
must be appointed completely. For example, class file "Helloword" is saved in "service"
directory, the path is "Helloworld", if class file "Helloworld" is in the "test" directory of
"service" directory, its class path changes to "test.Helloworld".
3) Server program syntax
The class files must include by the following 3 methods, the name of method and
parameters style must be the same as the following description, or the program can't work
properly.
/*
* used for login and identifying
*
* @ param $username: User's name login
* @ param $pass: password, if login as a guest, don't fill in the blank
* @ param $isRegister: whether the user is new, if he/she is, it is true, or it is a
* blank or false
*/
Vista de página 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 65 66

Comentários a estes Manuais

Sem comentários