Giter Site home page Giter Site logo

Add raw body storing about siler HOT 4 CLOSED

leocavalcante avatar leocavalcante commented on May 22, 2024 1
Add raw body storing

from siler.

Comments (4)

leocavalcante avatar leocavalcante commented on May 22, 2024

Hi @IvanDelsinne,
I didn't followed you. Can you show me some example about reading php://input just one time? What you mean by that?


Oh, ok, I see the notice now "Note: Prior to PHP 5.6, a stream opened with php://input could only be read once; the stream did not support seek operations.". Yeah, would be nice to have it in memory for further reading.

from siler.

Arteneko avatar Arteneko commented on May 22, 2024

I just noticed that it was only prior PHP5.6, so it was a mistake I made to think that it still worked that way. That'll teach me to read and test! (Actually I tested, but on an old PHP server we got at Uni, which is using PHP5.3).

Now I'm wondering... Should I implement it, to keep compatibility with such old versions or just close the issue and just keep this info. in my head ?

from siler.

leocavalcante avatar leocavalcante commented on May 22, 2024

Support for 5.5 ended in July 2016. I really don't think we should bother about compatibility with versions bellow 5.6.
And you should totally upgrade your server, not only for features, but mainly because security fixes hehe.

from siler.

Arteneko avatar Arteneko commented on May 22, 2024

Understood.

Also my servers are all using PHP7.1.8 and I'm painfully waiting for the PHP7.2 release, the server I was talking about is the server hosting most websites in our university and they use so much old stuff an update (even to PHP5.4) would break most of the website... (it's both sad and scary).

from siler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.