%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64 User : ndkhermy ( 1200) PHP Version : 8.5.12 Disable Function : NONE Directory : /home1/ndkhermy/public_html/website_6ca89795/vendor/egeloen/http-adapter/src/ |
Upload File : |
<?php
/*
* This file is part of the Ivory Http Adapter package.
*
* (c) Eric GELOEN <geloen.eric@gmail.com>
*
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Ivory\HttpAdapter;
/**
* Fopen http adapter.
*
* @author GeLo <geloen.eric@gmail.com>
*/
class FopenHttpAdapter extends AbstractStreamHttpAdapter
{
/**
* {@inheritdoc}
*/
public function getName()
{
return 'fopen';
}
/**
* {@inheritdoc}
*/
protected function process($uri, $context)
{
$http_response_header = array();
return array(@fopen($uri, 'rb', false, $context), $http_response_header);
}
}