amfphp2.0配置
来源:互联网 发布:淘宝招商条件 编辑:程序博客网 时间:2024/06/15 10:09
一、解压amfphp2.0中的amfphp到服务器目录下如htdocs/,其它的可不要;
二、将php文件放在htdocs/amfphp/Services中;
三、将amfphp目录下的index.php文件改为:
<?php
/**
* This file is part of amfPHP
*
* LICENSE
*
* This source file is subject to the license that is bundled
* with this package in the file license.txt.
* @package Amfphp_Examples
*/
/**
* a gateway php script like the normal gateway except that it uses example services
* @author Ariel Sommeria-klein
*/
require_once dirname(__FILE__) . '/ClassLoader.php';
$config = new Amfphp_Core_Config();
$config->serviceFolderPaths = array(dirname(__FILE__) . "/Services/");
$gateway = Amfphp_Core_HttpRequestGatewayFactory::createGateway($config);
$gateway->service();
$gateway->output();?>
四、打开127.0.0.1/amfphp,就要看到Services文件夹中的文件了。
望高手赐招:中文乱码该如何解决?应当如何配置config文件:其中有个类htdocs\Amfphp\Plugins\AmfphpCharsetConverter\AmfphpCharsetConverter.php。
二、将php文件放在htdocs/amfphp/Services中;
三、将amfphp目录下的index.php文件改为:
<?php
/**
* This file is part of amfPHP
*
* LICENSE
*
* This source file is subject to the license that is bundled
* with this package in the file license.txt.
* @package Amfphp_Examples
*/
/**
* a gateway php script like the normal gateway except that it uses example services
* @author Ariel Sommeria-klein
*/
require_once dirname(__FILE__) . '/ClassLoader.php';
$config = new Amfphp_Core_Config();
$config->serviceFolderPaths = array(dirname(__FILE__) . "/Services/");
$gateway = Amfphp_Core_HttpRequestGatewayFactory::createGateway($config);
$gateway->service();
$gateway->output();?>
四、打开127.0.0.1/amfphp,就要看到Services文件夹中的文件了。
望高手赐招:中文乱码该如何解决?应当如何配置config文件:其中有个类htdocs\Amfphp\Plugins\AmfphpCharsetConverter\AmfphpCharsetConverter.php。
- amfphp2.0配置
- 使用AMFPHP2.0
- amfphp1.9和amfphp2.2,1差别
- Spring3.0事务处理配置 ---声明式配置+注记配置
- JDK1.5配置+Tomcat5.0配置
- tomcat6.0配置(含配置视频下载)
- tomcat6.0配置(含配置视频下载)
- tomcat6.0配置(含配置视频下载)
- tomcat6.0配置(含配置视频下载)
- tomcat6.0配置(含配置视频下载)
- tomcat6.0配置(含配置视频下载)
- tomcat6.0配置(含配置视频下载)
- tomcat7.0 内存配置 和 端口配置
- OPENCV3.0+VS2013配置问题+cmake配置
- SpingMvc 基于java 配置(0配置)
- OpenCV3.0 + VS2013 配置一:基本配置
- OpenCV3.0 + VS2013配置二:自动化配置
- RedHat AS3.0 配置
- android adb push 与 adb install的比较(两种安装APK的方法)
- 在JavaScript中获取请求的URL参数
- Google Maps + Flex Mobile
- QT 4.7.0 使用odbc链接sqlserver 测试成功
- Serv-U搭建FTP服务器——简单应用
- amfphp2.0配置
- HALCON算子函数——Chapter 1 : Classification
- java编程,计算相隔天数
- 1
- java 保存unsigned 数据方法
- 剖析SQL Server 2005查询通知之基础篇(1)
- sql中行列互换问题
- HALCON算子函数——Chapter 2 : Control
- 滑动效果