Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.www.php > #21227

Re: php://memory non funziona

From Alessandro Pellizzari <shuriken@amiran.it>
Newsgroups it.comp.www.php
Subject Re: php://memory non funziona
Date 2016-10-24 13:12 +0100
Message-ID <e76c4hF6n24U1@mid.individual.net> (permalink)
References <nukbp4$vp8$1@gioia.aioe.org> <e761lvF47d6U1@mid.individual.net> <nukov0$1llh$1@gioia.aioe.org>

Show all headers | View raw


On 24/10/2016 11:49, alex wrote:

> Esempio tratto dal manuale **ufficiale**, e vabè.

http://php.net/manual/en/wrappers.php.php

php://memory and php://temp and not reusable, i.e. after the streams 
have been closed there is no way to refer to them again.

file_put_contents('php://memory', 'PHP');
echo file_get_contents('php://memory'); // prints nothing


Questo è quello che dice il manuale ufficiale. Nota il "prints nothing". :)


Bye.

Back to it.comp.www.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

php://memory non funziona alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-10-24 09:04 +0200
  Re: php://memory non funziona Alessandro Pellizzari <shuriken@amiran.it> - 2016-10-24 10:13 +0100
    Re: php://memory non funziona alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-10-24 12:49 +0200
      Re: php://memory non funziona Alessandro Pellizzari <shuriken@amiran.it> - 2016-10-24 13:12 +0100
        Re: php://memory non funziona alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-10-24 15:56 +0200

csiph-web