summaryrefslogtreecommitdiff
path: root/main/SAPI.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Add sapi_add_header_ex, which lets you specify whether you wantSascha Schumann2000-10-261-1/+4
| | | | | to add or replace a header.
* Move server_filter to an extension-specific globalRasmus Lerdorf2000-10-231-1/+0
|
* Need a global server filter for the Apache 2.0 moduleRasmus Lerdorf2000-10-221-0/+1
|
* post handler registration done rightHartmut Holzgraefe2000-10-131-0/+4
| | | | | (never use emalloc in an extension MINIT function)
* @ - POST handler for Adobe FDF format (Hartmut)Hartmut Holzgraefe2000-10-111-0/+1
| | | | | | | the FDF handler is now working and totaly living in the fdf extension, no more special code in main is needed
* More security-related (control) patches:Zeev Suraski2000-09-091-1/+2
| | | | | | | - Avoid displaying errors during startup, unless display_startup_errors is enabled. - Implemented post_size_max limit. Defaults to 8MB. - Implemented file_uploads on/off directive (defaults to on).
* - Implemented is_upload_file()Zeev Suraski2000-09-081-1/+1
|
* Restore the headers_only test to the centralized SAPI startup. If ↵Zeev Suraski2000-09-081-0/+1
| | | | | | | necessary, it can be overriden in the activate() callback.
* Use size_t as parameter type in the getenv member of struct sapi_moduleSascha Schumann2000-08-201-2/+2
|
* Change header protection macros to conform to standard.Sascha Schumann2000-07-021-3/+3
| | | | | | | | | Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment" All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use by the implementation.
* Separate plain name returned by php_sapi_module() and pretty nameAndrei Zmievski2000-06-261-0/+1
| | | | | used for output.
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* - Fix an invalid trick (it was valid when header() was usingZeev Suraski2000-04-281-1/+1
| | | | | | | zend_get_parameters(), but it became invalid when someone switched it to zend_get_parameters_ex(), and I decided to remove it anyway). - Remove a redundant function call
* @- Fix a problem when dealing with large POST blocks in CGI modeZeev Suraski2000-04-011-1/+1
|
* As it turns out, there are some browsers that can't handle defaultRasmus Lerdorf2000-03-201-1/+1
| | | | | | | charsets. I think forcing this on is going to cause us a lot of headache, so turn it off by default. @ Don't default to iso-8859-1 since this confuses some browsers
* fix some protosThies C. Arntzen2000-03-191-2/+2
|
* - From CODING_STANDARDS:Zeev Suraski2000-02-261-4/+1
| | | | | | | | | | | [6] NEVER USE strncat(). If you're absolutely sure you know what you're doing, check its man page again, and only then, consider using it, and even then, try avoiding it. strncat() is your enemy! - Fix several SAPI services, get rid of the default_content_type (it's always composed of the mime type and charset now). - Win32 works again
* @- Implemented default_charset and default_mimetype config directives (Stig)Stig Bakken2000-02-251-0/+5
| | | | | | Implemented default_charset and default_mimetype configuration directives. Started implementing ticks in PHP.
* started implementing directives for default mimetype/charsetStig Bakken2000-02-241-1/+13
|
* Get the license right... (this won't make it to RC1 of B4)Zeev Suraski2000-02-191-2/+2
|
* Make POST handling the way it should be. RFC1867, and any future POST ↵Zeev Suraski2000-02-171-12/+21
| | | | | | | | | | handlers we might have in the future now obey to the variables_order directive, and there's a real way modular way to handle POST content. This is all untested, BEFORE_SAPI_POST_PATCH_17_FEB_2000 tagged before submission @- Made multipart/form-data content obey to the variables_order directive (Zeev)
* Fine tune Andi's patchZeev Suraski2000-02-111-1/+1
|
* request_info.c is dead! long live SAPIZeev Suraski2000-02-101-0/+4
| | | | | | | @- Finished the server abstraction layer; All of the PHP code is now shared @ across different servers (Apache, CGI, IIS, etc.), except for thin @ interface modules (Zeev)
* request_info.c is giving upZeev Suraski2000-02-101-0/+3
|
* Yes, you guessed it... More cleanupZeev Suraski2000-02-101-0/+3
|
* More cleanup!Zeev Suraski2000-02-101-2/+4
|
* More cleanup - move getenv() to SAPIZeev Suraski2000-02-101-0/+2
|
* More cleanup...Zeev Suraski2000-02-101-1/+2
|
* - Introduce PHP_WIN32Andi Gutmans2000-02-101-1/+1
|
* More abstractionZeev Suraski2000-02-101-0/+3
|
* Move the logging mechanism to SAPIZeev Suraski2000-02-101-0/+1
|
* 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-0/+4
| | | | | | | | - 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).
* Export sapi_free_header()Sascha Schumann1999-12-101-0/+1
|
* Fix some warningsSascha Schumann1999-12-051-0/+1
|
* @Fix some warnings when compiling in maintainer-mode (Stig)Stig Bakken1999-12-011-2/+2
| | | | | | | | | | @Made mysql and gd work as shared extensions again (Stig) - Fixed some warnings in maintainer-mode. - Made mysql and gd work as shared extensions again by defining COMPILE_DL if PIC is defined. # We need a better solution for building .so extensions than this # PIC/COMPILE_DL hack!
* - Added support for unknown POST content types (Zeev)Zeev Suraski1999-09-161-0/+7
| | | | | - Introduce the convert_to_*_ex() API in strlen()
* - X-* is probably more standard.Andi Gutmans1999-09-131-1/+1
|
* Add PHP-Version header in IISZeev Suraski1999-09-121-1/+2
|
* License updateZeev Suraski1999-07-161-1/+20
|
* First attempt at moving the old RFC1867 support to the right placeZeev Suraski1999-06-121-0/+2
|
* Add container for file-upload. It's not quite implemented yet.Zeev Suraski1999-05-251-8/+7
|
* Allow unregistering content types as well.Zeev Suraski1999-05-251-0/+1
|
* * Add generic POST content-type support. Only application/x-www-form-urlencodedZeev Suraski1999-05-251-1/+12
| | | | | | supported at this time, but the framework allows for any other types, including runtime addition of types.
* * Finally commit that -q patchZeev Suraski1999-05-111-0/+5
| | | | | | * Refine SAPI built in header support * Use DllMain() in ISAPI to clean after threads and initialize tsrm/sapi as soon as possible.
* * Make read_post() read input by chunks instead of returning a single string.Andi Gutmans1999-05-091-1/+3
| | | | | | This will allow us to efficiently support file upload through SAPI in the future. * Fixes
* * Finalizing the PHP version of SAPI. Support POST and cookies among other ↵Zeev Suraski1999-05-091-2/+11
| | | | | | | | | | | | | things. * Fully implement ISAPI support - POST and cookies among other things. * Almost completely rewrote phpinfo(). Allow modules to easily display their information in phpinfo() without modifying phpinfo() itself (prototype for the module info function was changed, thus the large amount of updated module files). * Initial extended SAPI support for Apache, completely untested. * CGI now uses SAPI fully as well.
* * Get output buffering to work againZeev Suraski1999-05-061-2/+3
| | | | | | * Warn about adding header information after headers are sent * Several fixes
* vpath fixZeev Suraski1999-05-051-1/+1
| | | | | Apache compatability fix