summaryrefslogtreecommitdiff
path: root/ext/standard/head.c
Commit message (Collapse)AuthorAgeFilesLines
* Unify error messagesDerick Rethans2002-07-081-1/+1
|
* Add sapi_header_op interface which supersedes the sapi_add_header and _exSascha Schumann2002-07-031-10/+12
| | | | | | | | | | | | | | | | | | | | | calls. Revert the change to the sapi_add_header_ex interface. Fix various bugs: 1. header("HTTP/1.0 306 foo"); header("Location: absolute-uri"); did not work in combination with several SAPI modules, because http_status_line was never properly reset. And thus, all SAPI modules which looked at http_status_line ignored the changed http_response_code. 2. The CGI SAPI did not send out the HTTP status line at all, if http_status_line had not been set explicitly by calling header("HTTP/1.0 200 foo");
* - Added a new parameter to the header() function which overrides the HTTPDerick Rethans2002-06-211-5/+6
| | | | | | | response code. @- Added a new parameter to the header() function which overrides the HTTP @ response code. (Derick)
* Only the last cookie was getting set. (You can haveCliff Woolley2002-05-171-1/+1
| | | | | | | | | more than one Set-Cookie: header, as indicated by http://wp.netscape.com/newsref/std/cookie_spec.html.) PR: 16626 Submitted by: regina@hitel.net
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Make php_setcookie available from shared extensionsFrank M. Kromann2001-12-031-16/+23
|
* convert to use new parameter parsing API.Andrei Zmievski2001-10-191-65/+34
|
* Fixed other protos.Egon Schmid2001-10-191-5/+5
|
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* Track down a few more functions that don't check for 0 args and useRasmus Lerdorf2001-08-131-0/+4
| | | | | faster mechanism
* WhitespaceZeev Suraski2001-08-111-1/+1
|
* More TSRMLS_FETCH work. Got it under 400 now.Zeev Suraski2001-07-311-2/+2
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-4/+1
|
* Left-over outdated commentRasmus Lerdorf2001-07-211-1/+0
|
* Remove redundant codeZeev Suraski2001-07-211-2/+2
|
* Clarify and optimizeZeev Suraski2001-07-211-1/+1
|
* Fix more crashes related to this switch to z_valueRasmus Lerdorf2001-07-211-2/+2
|
* Fix potential crashStanislav Malyshev2001-06-141-2/+2
|
* Clean-upZeev Suraski2001-06-131-125/+31
| | | | | Remove a lot of 100% redundent code
* Fix folding and clean up some extensionsRasmus Lerdorf2001-06-061-2/+14
|
* vim-6 does folding - clean up a bunch of missing folding tags plusRasmus Lerdorf2001-06-051-0/+1
| | | | | some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* Allow users to specify whether they want to replace existing header fields.Sascha Schumann2000-10-271-6/+14
|
* Move main.h to php_main.h.Sascha Schumann2000-06-051-1/+1
|
* - ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patchAndi Gutmans2000-06-051-1/+1
|
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* proto-takeover from php3Hartmut Holzgraefe2000-05-171-2/+9
|
* - Fix an invalid trick (it was valid when header() was usingZeev Suraski2000-04-281-11/+2
| | | | | | | 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
* @Cleaned up extension namespace (Stig)Stig Bakken2000-03-061-9/+0
| | | | | | Cleaned up extension namespace, and changed ext/standard into one single extension.
* the pipe is breaking all the timeZeev Suraski2000-02-191-2/+2
|
* SAPIfication, Episode VI: Return of the SAPIZeev Suraski2000-02-101-123/+0
| | | | | | | | | | | | | | | 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
* fix for #3413Thies C. Arntzen2000-02-061-6/+8
| | | | | @- Fixed possible buffer-overflow in setcookie(). (Thies)
* post.c really had nothing to do with POST anymore, and it belongs to the top ↵Zeev Suraski2000-01-281-1/+0
| | | | level directory
* - Added flush() support to SAPIZeev Suraski2000-01-131-159/+0
| | | | | | | | - 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).
* Ex APIEvan Klinger1999-12-201-20/+20
|
* More php3_ annihilationZeev Suraski1999-12-181-49/+30
|
* - Made PHP_VERSION and PHP_OS work againZeev Suraski1999-12-171-1/+1
| | | | | | - More php3_ cleanup @- Restored the PHP_VERSION and PHP_OS constants (Zeev)
* More php3_ annihilationZeev Suraski1999-12-171-9/+9
|
* 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.
* Removed '3' from key functions in PHP (maintained compatibility throughZeev Suraski1999-08-021-2/+2
| | | | | php3_compat.h)
* More symbol work.Andrey Hristov1999-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | I've defined a few macros to help with module/request init/startup function definitions. Basically: PHP_MINIT_FUNCTION(module) PHP_MSHUTDOWN_FUNCTION(module) PHP_RINIT_FUNCTION(module) PHP_RSHUTDOWN_FUNCTION(module) PHP_MINFO_FUNCTION(module) These will expand to proper function prototypes. Now to specify these in the module entry, use: PHP_MINIT(module) PHP_MSHUTDOWN(module) PHP_RINIT(module) PHP_RSHUTDOWN(module) PHP_MINFO(module) I've updated all modules in ext/standard and everything from ext/apache to ext/db. If you can, please update your module to use these macros.
* A bunch of grunt work updating function entries and declarations.Andrey Hristov1999-07-241-2/+2
|
* Added headers_sent() functionAndrey Hristov1999-07-201-0/+11
|
* License updateZeev Suraski1999-07-161-20/+9
|
* conv_proto *.[ch]Sascha Schumann1999-05-161-2/+2
|
* * Finally commit that -q patchZeev Suraski1999-05-111-7/+0
| | | | | | * Refine SAPI built in header support * Use DllMain() in ISAPI to clean after threads and initialize tsrm/sapi as soon as possible.
* * Finalizing the PHP version of SAPI. Support POST and cookies among other ↵Zeev Suraski1999-05-091-51/+53
| | | | | | | | | | | | | 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.
* FixesZeev Suraski1999-05-051-2/+2
|