summaryrefslogtreecommitdiff
path: root/sapi/servlet/servlet.c
Commit message (Collapse)AuthorAgeFilesLines
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* Neither the CGI nor the Servlet SAPI module call syslog, so removeSascha Schumann2001-02-241-3/+0
| | | | | references to the syslog include files.
* Finish fopen-wrappers rename.Sascha Schumann2001-02-231-1/+1
|
* Many patches. I hope I remember them all:Zeev Suraski2001-01-021-5/+3
| | | | | | | | | - Make sapi_module available to external modules (PHPAPI) - Make the php.ini path reported in phpinfo() always point to real full path of the php.ini file - Optimized the ISAPI module not to read unnecessary server variables and read necessary variables at most once.
* - Make all places use MAXPATHLEN in the same way. It includes theAndi Gutmans2000-12-161-1/+1
| | | | | terminating NULL.
* AIX's XlC++ does not allow casts as an lvalue.Sam Ruby2000-12-161-1/+1
|
* Update SAPI modules to interface with the new TSRM.Zeev Suraski2000-11-181-1/+1
| | | | | Enable thread-safety memory debugging in ISAPI when in debug mode
* 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.
* Keep servlet working...Sam Ruby2000-08-211-0/+1
|
* Reorder call to ELS_FETCH to be after declarationsSam Ruby2000-08-171-1/+1
|
* Correct bug in headers only logic.Sam Ruby2000-08-101-1/+1
|
* Heads up! I have moved the headers_only and response_code checks out ofRasmus Lerdorf2000-08-021-0/+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)
* Correct the value of request_uriSam Ruby2000-07-241-2/+2
|
* Separate plain name returned by php_sapi_module() and pretty nameAndrei Zmievski2000-06-261-1/+2
| | | | | used for output.
* Stop including dl/phpdl.h.Sascha Schumann2000-06-241-1/+0
|
* Move main.h to php_main.h.Sascha Schumann2000-06-051-1/+1
|
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* Eliminate warning if virtual cwd is specifiedSam Ruby2000-04-111-0/+2
|
* Use C style comments, per the CODING_STANDARDSSam Ruby2000-03-311-3/+5
|
* fix indentation (this project has tabstop=4!)Sam Ruby2000-03-301-3/+3
|
* eliminate chdir if it is already virtualSam Ruby2000-03-301-0/+7
|
* - Hopefully got most of them. We also need a chdir_file function likeAndi Gutmans2000-03-301-2/+2
| | | | | for Apache.
* Fix build on systems which lack snprintf or vsnprintf.Sascha Schumann2000-03-121-1/+0
| | | | | PR: #3786
* Both PHP and Java can't read Post data - let java do it and reconstruct forSam Ruby2000-03-091-19/+23
| | | | | PHP.
* Add support for PHP syntax highlightingSam Ruby2000-03-051-7/+22
| | | | | | | | Remove debug output Fix trap when string to be output is not null terminated Add a MS workspace for project level dependencies Match case of contentType header
* Potential trap when cookies are sentSam Ruby2000-02-201-1/+2
|
* the pipe is breaking all the timeZeev Suraski2000-02-191-2/+2
|
* @- Improved ISAPI module - it should no longer be necessary to set PHP asZeev Suraski2000-02-151-1/+0
| | | | | | | | | @ an ISAPI filter, only as an ISAPI extension, unless you wish to perform @ authentication using PHP. This didn't yet get enough testing, but it @ should work (Zeev) - Fixed auth_user/auth_password memory leak (I didn't have time to test it under Apache, feedback welcome!)
* 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/+1
|
* More abstractionZeev Suraski2000-02-101-0/+3
|
* Always use getopt with CGI, never use it for anything elseZeev Suraski2000-02-101-7/+0
|
* Move the logging mechanism to SAPIZeev Suraski2000-02-101-0/+1
|
* Servlets work again! OK, so it crashes on shutdown, apparently trying toSam Ruby2000-02-011-3/+15
| | | | | report a memory leak, but it is worth committing the progress so far.
* Tried to centralize global variable registration as much as possible:Zeev Suraski2000-01-281-0/+2
| | | | | | | | | | | | - 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/+3
| | | | | | | | - 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).
* Use sapi_module_struct to contain SAPI module nameSascha Schumann1999-12-201-1/+1
|
* More php3_ annihilationZeev Suraski1999-12-171-2/+2
|
* More php3_ annihilationZeev Suraski1999-12-171-1/+1
|
* Hmmm...must have misplaced the getcwd/chdir logic...Sam Ruby1999-12-061-0/+3
|
* Clean up php3.*\.h files. The files itself are renamed, and references in allSascha Schumann1999-12-041-2/+2
| | | | | | .*\.[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)
* Initial alpha-level of sapi/servlet. See README for details.Sam Ruby1999-11-291-0/+384