summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
Commit message (Collapse)AuthorAgeFilesLines
...
* request_info.c is giving upZeev Suraski2000-02-101-7/+51
|
* SAPIfication, Episode VI: Return of the SAPIZeev Suraski2000-02-101-5/+1
| | | | | | | | | | | | | | | Remove mostly all references to APACHE and CGI_BINARY from the code. - Apache include files are no longer included by any PHP code, except for the Apache SAPI module. - No server specific code is in any of the base PHP code. Still left to be done: - Eliminate any references to APACHE from the few remaining modules. - Move request_info.c's logic to SAPI - Modify the regex function names, and globals, so that we can always include them, without having to fear any interference with Apache; Always use the bundled regex library
* Yes, you guessed it... More cleanupZeev Suraski2000-02-101-0/+3
|
* More cleanup - move getenv() to SAPIZeev Suraski2000-02-101-0/+1
|
* More cleanup...Zeev Suraski2000-02-101-0/+2
|
* Should be 'deactivate' rather than the opposite.Andrei Zmievski2000-02-101-2/+2
|
* More abstractionZeev Suraski2000-02-101-2/+15
|
* Always use getopt with CGI, never use it for anything elseZeev Suraski2000-02-101-17/+15
|
* Move the logging mechanism to SAPIZeev Suraski2000-02-101-0/+10
|
* - Change the argument order of php_register_variable() to something moreZeev Suraski2000-01-291-2/+2
| | | | | | intuitive. - Make the authentication variables be a part of the HTTP_SERVER_VARS[] array
* - A few fixesZeev Suraski2000-01-281-0/+1
| | | | | - Added register_argv_argc directive to allow disabling of argv/argc
* Tried to centralize global variable registration as much as possible:Zeev Suraski2000-01-281-0/+34
| | | | | | | | | | | | - Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly to $HTTP_GET_VARS[], contain environment and server variables. Setting register_globals to Off will now also prevent registration of the environment and server variables into the global scope (Zeev) - Renamed gpc_globals to register_globals (Zeev) - Introduced variables_order that deprecates gpc_order, and allows control over the server and environment variables, in addition to GET/POST/Cookies (Zeev)
* - Added flush() support to SAPIZeev Suraski2000-01-131-2/+9
| | | | | | | | - Got rid of the old flush() implemenetation in favour of the new one - Added implicit_flush() support to the output buffering layer. @- Added implicit_flush() to control whether flush() should be called @ implicitly after any output (Zeev)
* Happy Y2K patch! Happy new year (or the new millennium, depending on whetherSascha Schumann2000-01-011-1/+1
| | | | | you start counting at 0 or 1).
* @- Fixed -c support in the standalone CGI binary (Zeev)Zeev Suraski1999-12-271-3/+15
| | | | | Fixed -c support in the standalone CGI binary (Zeev)
* Use sapi_module_struct to contain SAPI module nameSascha Schumann1999-12-201-1/+1
|
* More php3_ annihilationZeev Suraski1999-12-171-3/+3
|
* More php3_ annihilationZeev Suraski1999-12-171-3/+3
|
* Fix some warningsSascha Schumann1999-12-051-1/+1
|
* Clean up php3.*\.h files. The files itself are renamed, and references in allSascha Schumann1999-12-041-1/+1
| | | | | | .*\.[ch] files were changed. There is a slight chance that my script missed a few changes, please correct them manually.
* Remove code references to serverapiSascha Schumann1999-12-041-8/+0
|
* - zend_file_handles must now flag whether their .filename property should beZeev Suraski1999-12-041-0/+1
| | | | | free by Zend or not (uses e*() functions)
* (main) In this special case, free path_translated. Fix for #2795.Andrei Zmievski1999-11-231-0/+4
|
* (main) Remove redundant statement, this is part of the initializationSascha Schumann1999-11-231-1/+0
| | | | | function.
* - It's OK if we link dynamically.Andi Gutmans1999-10-161-2/+0
|
* - Get windows version to compile again. No biggy if array_map is not #if 0'dAndi Gutmans1999-10-161-0/+2
| | | | | out even if it doesn't work.
* Generalized server-API build process on UNIX. Each SAPIStig Bakken1999-09-271-0/+501
implementation now has its own directory under sapi/, just like extensions have theirs under ext/. To make the final targets appear in the main dir, the top-level Makefile includes sapi/NN/Makefile.inc from the selected sapi backend. This is a plan Makefile stub without any autoconf substitutions. Each SAPI backend also has its own config.m4 like extensions (read at the end of diversion 2) and config.h.stub files. Each SAPI backend has to contain: config.m4: just like for extensions, this file contains autoconf/automake directives that end up in the configure script. The only difference is that the sapi config.m4 files are read in diversion (output block) 2 instead of 3. The sapi config.m4 files should set two variables: PHP_SAPI (which sapi backend to choose) and SAPI_TARGET (the name of the resulting library or program, previously BINNAME). If they are not specified, they will default to "cgi" and "php", respectively. Makefile.inc: has to exist, has to define "INSTALL_IT" to the command used to install the final target (or ":" for no operation). It also has to define a plain Makefile rule (without autoconf substitutions) to build $(SAPI_TARGET) Makefile.am: just what you think. Make sure your target is called "libphpsapi_NNN.a", where NNN is the value of PHP_SAPI. Some testing and fixing probably remains. To make everything hang together, I've done some ugly tricks that I can imagine causing some problems. I've built and run the CGI version and built the Apache DSO.