Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read globals ($_GET, $_POST, $_FILES, $_REQUEST, etc) from http.Request types #51

Open
deuill opened this issue Jan 30, 2018 · 2 comments

Comments

@deuill
Copy link
Owner

deuill commented Jan 30, 2018

There is currently no easy way of populating request-specific globals in PHP contexts (apart from binding variables and setting globals in PHP). For go-php to be useful in replicating or replacing the standard apache/nginx/php-fpm stack, we need to be able to handle requests transparently.

One possible implementation is having Context conform to the http.Handler interface, therefore allowing for transparent handling of incoming requests.

@PaulBGD
Copy link

PaulBGD commented Jun 19, 2019

Has there been any work on this? Would be very useful for me.

@deuill
Copy link
Owner Author

deuill commented Jun 24, 2019

Not really, the library is pretty much unmaintained though. Feel free to contribute if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants