Re: [PHP] C++, $_POST -> php-cgi

2009-06-10 Thread Simon
I'm working on something similar, here's the pseudo-code of what happens to ensure the PHP script run by my server doesnt see any difference than when it runs under apache or others... Say the php file to execute is "index.php" and it was called from a form post, the form tag also specified GET ar

[PHP] C++, $_POST -> php-cgi

2009-06-08 Thread Jasper
Hi, i'm planning to create a win32 http server that supports cgi. Does anybody see the problem in C++ -source? Php doesn't give any output, but if I don't set the rfc3875 environment variables, all output comes normally (expect post and other variables aren't set). Only what I'm able to set is $_