Skip to content

Commit

Permalink
Fixed README
Browse files Browse the repository at this point in the history
  • Loading branch information
andot committed Apr 2, 2015
1 parent 5a1d6c3 commit e5190cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Hprose for PHP is very easy to use. You can create a hprose server like this:

```php
<?php
require_once('php5/HproseHttpServer.php');
require_once('Hprose.php');

function hello($name) {
return 'Hello ' . $name;
Expand All @@ -78,7 +78,7 @@ You can also use HproseSwooleHttpServer to create a standalone hprose server:
`server.php`
```php
<?php
require_once("php5/HproseSwooleHttpServer.php");
require_once("Hprose.php");

function hello($name) {
return 'Hello ' . $name;
Expand All @@ -101,7 +101,7 @@ Then you can create a hprose client to invoke it like this:

```php
<?php
require_once("php5/HproseHttpClient.php");
require_once("Hprose.php");
$client = new HproseHttpClient('http://127.0.0.1/server.php');
echo $client->hello('World');
```
Expand Down
6 changes: 3 additions & 3 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Hprose for PHP 使用起来很简单,你可以像这样来创建一个 Hprose

```php
<?php
require_once('php5/HproseHttpServer.php');
require_once('Hprose.php');

function hello($name) {
return 'Hello ' . $name;
Expand All @@ -77,7 +77,7 @@ Hprose for PHP 使用起来很简单,你可以像这样来创建一个 Hprose
`server.php`
```php
<?php
require_once("php5/HproseSwooleHttpServer.php");
require_once("Hprose.php");

function hello($name) {
return 'Hello ' . $name;
Expand All @@ -100,7 +100,7 @@ Hprose for PHP 使用起来很简单,你可以像这样来创建一个 Hprose

```php
<?php
require_once("php5/HproseHttpClient.php");
require_once("Hprose.php");
$client = new HproseHttpClient('http://127.0.0.1/server.php');
echo $client->hello('World');
?>
Expand Down

0 comments on commit e5190cb

Please sign in to comment.