HPCloud-PHP
1.2.0
PHP bindings for HPCloud and OpenStack services.
|
Go to the source code of this file.
Variables | |
$ini = parse_ini_file(getenv('HOME') . '/.hpcloud.ini') | |
$settings | |
$newfile = fopen('swift://Example/my_file.txt', 'w') | |
if(file_exists('swift://Example/my_file.txt')) | $file = file_get_contents('swift://Example/my_file.txt') |
print $file | PHP_EOL |
$cxt |
$cxt |
Definition at line 31 of file streams-tutorial-example.php.
Referenced by StreamWrapper\cxt(), PHPStreamTransport\doRequest(), and PHPStreamTransport\doRequestWithResource().
if (file_exists('swift://Example/my_file.txt')) $file = file_get_contents('swift://Example/my_file.txt') |
Definition at line 28 of file streams-tutorial-example.php.
Referenced by CURLTransport\fetchHeaders(), and Container\save().
$ini = parse_ini_file(getenv('HOME') . '/.hpcloud.ini') |
Definition at line 8 of file streams-tutorial-example.php.
$newfile = fopen('swift://Example/my_file.txt', 'w') |
Definition at line 18 of file streams-tutorial-example.php.
$settings |
print $file PHP_EOL |
Definition at line 29 of file streams-tutorial-example.php.
Referenced by PHPStreamTransport\doRequest(), and PHPStreamTransport\printNotifications().