Skip to content

Commit 43a09f0

Browse files
committed
Initial import
0 parents  commit 43a09f0

File tree

2 files changed

+401
-0
lines changed

2 files changed

+401
-0
lines changed

README

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
_______________________
2+
3+
AutoLoad Manager README
4+
_______________________
5+
6+
7+
AUTHOR & CONTACT
8+
================
9+
10+
Charron Pierrick
11+
- pierrick@webstart.fr
12+
13+
14+
DOCUMENTATION & DOWNLOAD
15+
========================
16+
17+
Latest version is available on github at :
18+
- http://github.com/adoy/PHP-FastCGI-Client/
19+
20+
Documentation can be found on :
21+
- http://github.com/adoy/PHP-FastCGI-Client/
22+
23+
24+
LICENSE
25+
=======
26+
27+
This Code is released under the GNU LGPL
28+
29+
Please do not change the header of the file(s).
30+
31+
This library is free software; you can redistribute it and/or modify it
32+
under the terms of the GNU Lesser General Public License as published
33+
by the Free Software Foundation; either version 2 of the License, or
34+
(at your option) any later version.
35+
36+
This library is distributed in the hope that it will be useful, but
37+
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
38+
or FITNESS FOR A PARTICULAR PURPOSE.
39+
40+
See the GNU Lesser General Public License for more details.
41+
42+
43+
How can I use it ?
44+
==================
45+
46+
require('fastcgi.php');
47+
48+
$client = new FCGIClient('localhost', '9000');
49+
$content = 'key=value';
50+
echo $client->request(
51+
array(
52+
'GATEWAY_INTERFACE' => 'FastCGI/1.0',
53+
'REQUEST_METHOD' => 'POST',
54+
'SCRIPT_FILENAME' => 'test.php',
55+
'SERVER_SOFTWARE' => 'php/fcgiclient',
56+
'REMOTE_ADDR' => '127.0.0.1',
57+
'REMOTE_PORT' => '9985',
58+
'SERVER_ADDR' => '127.0.0.1',
59+
'SERVER_PORT' => '80',
60+
'SERVER_NAME' => 'mag-tured',
61+
'SERVER_PROTOCOL' => 'HTTP/1.1',
62+
'CONTENT_TYPE' => 'application/x-www-form-urlencoded',
63+
'CONTENT_LENGTH' => strlen($content)
64+
),
65+
$content
66+
);
67+

0 commit comments

Comments
 (0)