summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Leave initializing of auth_(user|password) to php_handle_auth_data().Sascha Schumann2000-10-271-7/+2
|
* The CGI RFC allows servers to pass Authorization data to the script,Sascha Schumann2000-10-271-4/+9
| | | | | | | if the server did not use the information contained therein. See 6.1.5 and 11.2 of the proposed spec.
* - Fix new -m on WindowsAndi Gutmans2000-10-261-0/+2
|
* Added -m (Shows list of modules) to commandline..Mathieu Kooiman2000-10-261-1/+19
|
* Adding type cast to remove compiler warningFrank M. Kromann2000-10-201-1/+1
|
* - Commit Kristian's PHP 3 patch to PHP 4. Kristian I hope it's also theAndi Gutmans2000-10-111-1/+7
| | | | | same here.
* - Fix request_uri to take it's value from SCRIPT_NAME if PATH_INFO is notAndi Gutmans2000-10-031-0/+3
| | | | | defined
* - Cleanup some output functionsAndi Gutmans2000-09-301-1/+1
|
* Restore the headers_only test to the centralized SAPI startup. If ↵Zeev Suraski2000-09-081-5/+0
| | | | | | | necessary, it can be overriden in the activate() callback.
* @PHP 3 regression testing framework re-born (Stig)Stig Bakken2000-08-271-5/+13
| | | | | | | | Took the old PHP 3 regression testing framework and rewrote it in PHP. Should work on both Windows and UNIX, however I have not tested it on Windows. See tests/README for how to write tests. Added the PHP 3 tests and converted most of them.
* Fix zend_fiel_handle handling. Should fix URL includeStanislav Malyshev2000-08-131-0/+1
| | | | | and various opened_path inconsistencies.
* Fix crash on broken setups (#5979)Stanislav Malyshev2000-08-051-2/+6
|
* Heads up! I have moved the headers_only and response_code checks out ofRasmus Lerdorf2000-08-021-1/+6
| | | | | | | | | | | | | | | SAPI and down into the individual SAPI modules. I have made the appropriate changes in all the SAPI modules, but please verify these. The reason for this change is that Apache sometimes will feed PHP a request_method of GET but have r->header_only set to true. This happens in an ErrorDocument redirect. In this same scenario we want to preserve the status code as well instead of just overwriting it with a 200 and losing this information. For now the other sapi modules act exactly as before since they probably do not make this distinction, and they may not even have a valid response code this early in the request. @ Fix HEAD request bug on an Apache ErrorDocument redirect and preserve @ the status code across the redirect as well. (Rasmus)
* Made ob_start() and friends reentrant. It's now possible to implement thisZeev Suraski2000-07-291-3/+3
| | | | | | | | | | | | | | long-requested functionality, now that output buffering is re-entrant: function eval_ret($code) { ob_start(); eval($code); $retval = ob_get_contents(); ob_end_clean(); return $retval; }
* added '-l' option to command line / CGI version for 'syntax check only'Hartmut Holzgraefe2000-07-281-48/+78
| | | | | | | | plus a little cleanup and rearranging in command line option parsing @ CGI aka. command line version has now an option '-l' for syntax check @ without execution (Hartmut)
* make -c in stand-alone mode work again.Stanislav Malyshev2000-07-131-3/+13
| | | | | | | | Setting ini_path after php_module_startup doesn't do much good - since php_module_startup reads .ini. # This fix is very ugly. Everyone is welcome to make better fix # that won't report errors twice and won't scan argument 3 times
* - Extra newline crept in somehowAndi Gutmans2000-06-291-1/+0
|
* - Fix problem with DICARD_PATH being defined in windowsAndi Gutmans2000-06-291-1/+5
|
* Separate plain name returned by php_sapi_module() and pretty nameAndrei Zmievski2000-06-261-1/+2
| | | | | used for output.
* - Pray this is an OK fix for the DISCARD_PATH junkAndi Gutmans2000-06-261-0/+4
|
* Right name for the function persist_allocStanislav Malyshev2000-06-261-1/+1
|
* - Try two in fixing the problem with memory leaks reporting path_translatedAndi Gutmans2000-06-261-4/+6
|
* - Fix problem with filename being freed before possible memory leaks areZeev Suraski2000-06-261-1/+7
| | | | | - reported by the memory manager
* If we freed it, we might not touch itStanislav Malyshev2000-06-261-1/+2
| | | | | | | # BTW, this is not a real fix - we still might use it # when reporting memory leaks, but at least we won't reference # unitialized memory
* - Beautify a bitAndi Gutmans2000-06-151-14/+5
|
* - Try and fix crash with CGI.Andi Gutmans2000-06-151-11/+16
| | | | | | | - Please check out the comment I wrote in init_request_info(). There was a - lot of code there which was running for no apparent reason. Should it be - removed or should it actually run?
* - Unncessary SLS_FETCH();Andi Gutmans2000-06-151-4/+0
|
* Proper castsSascha Schumann2000-06-131-1/+1
|
* - This seems to be a bug. Anyone know who wrote this code? Should it stayAndi Gutmans2000-06-101-2/+2
| | | | | - in?
* Move main.h to php_main.h.Sascha Schumann2000-06-051-1/+1
|
* - Fix problem in sessions module under Win32. Need to use ; as an optionsAndi Gutmans2000-05-271-1/+1
| | | | | - delimiter in save_path instead of :.
* Only fetch globals if it's necessary (which it usually won't be)Zeev Suraski2000-05-251-3/+4
|
* @- ignore_user_abort() & friends should now work in CGI mode as well.Thies C. Arntzen2000-05-251-2/+20
| | | | | @ (Patch by daniel.braun@ercom.fr)
* -i, -v, -h and -? execution pathes didn't flush the output bufferHartmut Holzgraefe2000-05-221-1/+7
| | | | | | on exit, resultiong in no output at all when "output-buffering=On" ( BUG id#3420 )
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* - Fix problem with sapi_globals being used before it is initialized.Andi Gutmans2000-05-051-14/+13
|
* - Make Windows compile again.Andi Gutmans2000-05-051-1/+4
|
* - Add -z and -g switches to the CGIZeev Suraski2000-05-041-2/+42
|
* - Another PHP_WIN32 patchAndi Gutmans2000-04-201-1/+1
|
* - Change to PHP_WIN32Andi Gutmans2000-04-201-1/+1
|
* improve fixThies C. Arntzen2000-04-201-1/+1
|
* SIGPIPE is unknown on WIN32 platformsFrank M. Kromann2000-04-191-0/+2
|
* ignore SIGPIPE in standalone-mode so that one can actually use fsockopen() ↵Thies C. Arntzen2000-04-191-0/+11
| | | | *and* have the remote side close the socket whithout PHP dying!
* Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.Sascha Schumann2000-03-121-1/+1
|
* Fix build on systems which lack snprintf or vsnprintf.Sascha Schumann2000-03-121-1/+0
| | | | | PR: #3786
* Allow the INI callbacks to know at what stage PHP isZeev Suraski2000-02-261-1/+1
|
* compile-fixThies C. Arntzen2000-02-211-1/+1
|
* the pipe is breaking all the timeZeev Suraski2000-02-191-2/+2
|
* Fine tune Andi's patchZeev Suraski2000-02-111-2/+2
|
* - Baby steps with PHP_WIN32 :)Andi Gutmans2000-02-111-1/+1
|