Hello there is there a way to read a file in a specific format like utf-16 or any format that is not in the following: a-z, A-Z, 0-9 Any help will be ...
Hello there is there a way to read a file in a specific format like utf-16 or any format that is not in the following: a-z, A-Z, 0-9 Any help will be ...
I thought I conveniently could list any contents in a zip file using a glob pattern. But that didn't seem to work. Is there a way? The zip:// strea ...
According to the docs php://output is only a writable stream, is there any way to read whatever was streamed to it as a content(possibilly a string); ...
I'm investigating the possibility of symmetrically encrypting native streams in PHP. I've found lots of information showing how to perform this sort o ...
I read on another topic that file('file:///path/to/file.txt'); file('/path/to/file.txt'); are equivalent. So, what's the point to use file:// stre ...
I have a problem copying a file. My code: copy() give true, the file is created but some lines at the end of the file are missing... the file is 3. ...
I need to send string data to an external url which is an API for clients, but I always get the server sending back an error, and then I checked the l ...
I use the PHP zip:// stream wrapper to parse large XML files line by line. For example: $stream_uri = 'zip://' . __DIR__ . '/archive.zip#foo.xml'; $r ...
I know that I can create a PHP stream from a filename (a real one, or an URL), by using the fopen function: The resulting stream ($stream) is then ...
I am currently implementing a PHP class that fetches image files and caches them locally. These images may come from other local sources, via HTTP or ...
PHP allows to read ZIP files on-the-fly with the zip:// wrapper: $fp = fopen ('zip://archive.zip#dir/file.txt', 'rb'); All good, when you know the ...
I have a php file, when you open it, a picture is going to be downloaded and opened. Here is my code: It's ok when you open directly. But when I se ...
I'm trying to (PHP) cURL PUT a file from Amazon S3 to Vimeo using S3 stream wrapper (s3://...) and getting the follow error: curl_setopt_array(): ...
Using PHPExcel, I would like to read a file from the internet. The PHPExcel library seems suited to opening only local files, not URLs. Here's what I ...
I am using something called DAP (https://github.com/rapid7/dap) which helps deal with large file handling and outputs an ever growing list of data. F ...
I am new in the amazon s3.In my cakephp3.0 application I need to copy file from one bucket to another. For that I installed AWS SDK using composer and ...
I have to write something to process an XML document sent via POST. The document has base-64 encoded binaries inside so the request can be quite large ...
I have written some code using streams that sends a file via a multiform post to another website. So this is php server code to -> another web serv ...
PHP manual states that a stream opened with php://input support seek operation and can be read multiple times as of PHP 5.6, but I can't make it work. ...
I have a class VarStream that I would like to register like Our classes are always namespaced, so I've tried with no luck. Can I use namespac ...