Comments (4)
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.
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.
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.
Thank you Kafene.
I will go to close this as solved.
Best regards
from core.
Related Issues (20)
- Possible deployment on AWS Lambda. HOT 1
- Possible way to include some shorthand helpers or utils. HOT 12
- Documentation on how to Docker-ize FlightPHP application. HOT 1
- Notice: Event 'notFound' has been overridden! HOT 5
- Minifier html HOT 3
- Handling of URLs with encoded slashes (/)
- Have URL parameters available when setting streaming headers HOT 2
- Upgrade from 3.2.0 to 3.6.1 breaks Flight::json ? HOT 2
- [Docs > Routing] Method Routing HOT 6
- [Refactor] Flight::get() need to be renamed HOT 2
- [Views] register method : no autocomplete / intelsense HOT 3
- get_input_data HOT 3
- Comments before begin php tag returns json with garbage HOT 4
- FYI, minor bug with streamWithHeaders() HOT 11
- Multiple renders keeps the previous state When I render multiple views as components, they keep the state of previous arguments passed to them instead of reinitialize with default value each render.
- Inject Middleware constructor arguments using the DI Container HOT 3
- Proposal of compact syntax for Flight::route HOT 6
- View class steroids 🙌🏽 HOT 1
- How to stop the request process when there is an issue in the Middleware? HOT 7
- Named Parameters Are Actually In Order... HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.