php-wasm
php-wasm copied to clipboard
PHP in Browser, powered by WebAssembly.
Get a vague error message saying the request was denied etc using the demo / example..
fixes #60 tested with PhpCgiNode with paths: - `/cgi/drupal/query.php?langcode=en&profile=standard` - `/cgi/drupal/` (entrypoint) this unblocked the interactive/UI installer for Drupal. We couldn't get to the "Requirements" warning form, because submitting the...
`REQUEST_URI` is set to `originalPath` ``` let originalPath = url.pathname; ``` This prevent's Symfony's request object from having the correct request URI (amongst others) ```php // Request.php } elseif ($this->server->has('REQUEST_URI'))...
Closes #58 https://www.sqlite.org/releaselog/3_46_1.html
There's latest release which contains some fixes > JavaScript/WASM: >> Fix a corruption-causing bug in the JavaScript "opfs" VFS. >> Work around a couple of browser-specific OPFS quirks. https://www.sqlite.org/releaselog/3_46_1.html
Cookies are lost if the service worker is refreshed or gets reconstructed. I wonder if the `cookies` map should be dumped to `/config/init.json` like `settings` and `env`. That way they...
related to #55 without fixing the function. PhpCgiNode does this.
eg, presuming your "normal" server-side php queries a mysql database and emits the result as json or html fragments or whatever, when the php itself is moved to-the-browser, how does...
Cookies are not removed if the server deletes them Example: ``` "SESS61c42da5939b03e7ce094fcacb127d7a=deleted; expires=Thu, 01 Jan 1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly" ``` This should delete the cookie. Instead the CGI...
It seems the `php.run()` call passes through a slightly different argument than given - which I suspect is caused by this line: https://github.com/seanmorris/php-wasm/blame/d3f8d93e8a1691dbf96d9e5825cee959a68fb136/source/PhpBase.js#L69 this can be reproduced by calling `php.run('