note 102240 added to function.gzdecode

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
Since gzdecode does not exist, heres the simplest solution to decode the data using the data uri scheme:
<?php
$data = readgzfile('data://text/plain;base64,'.base64_encode($data));
?>
It's much like the solution of webmaster at askapache dot com, but it does not create a temporary file for using with readgzfile...
The ugly with this is, that we have to transform the data again with base64 encoding...
----
Server IP: 212.124.37.9
Probable Submitter: 85.8.70.161
----
Manual Page -- http://www.php.net/manual/en/function.gzdecode.php
Edit        -- https://master.php.net/note/edit/102240
Del: integrated  -- https://master.php.net/note/delete/102240/integrated
Del: useless     -- https://master.php.net/note/delete/102240/useless
Del: bad code    -- https://master.php.net/note/delete/102240/bad+code
Del: spam        -- https://master.php.net/note/delete/102240/spam
Del: non-english -- https://master.php.net/note/delete/102240/non-english
Del: in docs     -- https://master.php.net/note/delete/102240/in+docs
Del: other reasons-- https://master.php.net/note/delete/102240
Reject      -- https://master.php.net/note/reject/102240
Search      -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.