Code Monkey home page Code Monkey logo

Comments (4)

philo23 avatar philo23 commented on May 8, 2024

I'm fairly certain this wouldn't fix your problem, php://input is a wrapper to access stdin using the standard file handling functions like readfile(), file() and file_get_contents(). The curl extension as far as I'm aware has no support for this.

You might be able to get around the restrictions on your server using some of the information displayed here: http://php.net/manual/en/wrappers.php.php (eg: $HTTP_RAW_POST_DATA) but even so I doubt this will be added into Flight.

from core.

kamov avatar kamov commented on May 8, 2024

Hi,

thanks for info.

Currently I am working on localhost, where allow_fopen is enabled.
But I am worry regarding when I upload on my server.

But in this case is not an external link, right?

On my server is disabled only for external link.

It's first time that I see this method. I will check into link that you kindly provide.

Thanks

from core.

kafene avatar kafene commented on May 8, 2024

Chances are on such a limited server you are never going to be doing request methods other than GET and POST so I would just comment that line out or not worry about it, it will always be empty.

Also if this is actually disabled by allow_url_fopen I'd report that to PHP.net as a bug, since even though it has a URL format, it is not a URL, it's an internal PHP resource.

from core.

kamov avatar kamov commented on May 8, 2024

Thank you Kafene.

I will go to close this as solved.

Best regards

from core.

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.