summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* - MFHDerick Rethans2003-04-281-3/+3
|
* - MFHDerick Rethans2003-04-281-3/+3
|
* # on working disk againSascha Schumann2003-04-281-31/+23
| | | | | reverting code, moving to correct branch
* # disk going bad, rescuing dataSascha Schumann2003-04-281-23/+31
| | | | | improve php_url_encode a bit
* MFH(r-1.336): added missing sanity check in fgetcsv()Moriyoshi Koizumi2003-04-281-30/+31
| | | | | | Partly synchronised indents with HEAD # please merge CS fixes to branches too, or leave them as is :(
* MFH: Fix for #23340; fopen on multiple urls from the same server crashes.Wez Furlong2003-04-281-1/+12
|
* This caused more mess than good, revert to the way it was in 4.3.0...Zeev Suraski2003-04-271-34/+30
|
* fix TSRMStanislav Malyshev2003-04-271-1/+1
|
* Fix very nasty bug - session cookie kills one of the cookiesStanislav Malyshev2003-04-271-10/+10
| | | | | | | | | | | | set before it on certain non-Apache SAPIs. # for example, this code: # <? # setcookie("abc", 1); # setcookie("def", 2); # session_start(); # ?> # would output only 'def' cookie on CGI and ISAPI
* Fix the lack of SSL certificate verification support for ssl:// sockets andWez Furlong2003-04-266-7/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https:// streams. This code is essential for people writing secure applications in order to avoid man-in-the-middle attacks, and is thus regarded as a bug fix. It is, however, optional; you need to explicitly turn on the verification functionality, as it depends on you to specify your trusted certificate chain. This sample demonstrates a secured https:// request, making use of the CA bundle provided by curl: <?php $ctx = stream_context_create(); // Turn on verification stream_context_set_option($ctx, "ssl", "verify_peer", true); // Set the CA bundle (trusted certificate chain) stream_context_set_option($ctx, "ssl", "cafile", "/usr/local/share/curl/curl-ca-bundle.crt"); $fp = fopen("https://www.zend.com", "rb", false, $ctx); ?> This sample demonstrates how to roll your own https:// request, and specify a certificate to use for authentication; the local_cert and passphrase options will also work for fopen(). <?php $ctx = stream_context_create(); stream_context_set_option($ctx, "ssl", "verify_peer", true); stream_context_set_option($ctx, "ssl", "cafile", "/usr/local/share/curl/curl-ca-bundle.crt"); // set local cert. it MUST be a PEM encoded file containing the certificate // AND your private key. It can also contain the certificate chain of issuers. stream_context_set_option($ctx, "ssl", "local_cert", "/path/to/my/cert.pem"); stream_context_set_option($ctx, "ssl", "passphrase", "secret!"); // Set the common name that we are expecting; PHP will perform limited wildcard // matching. If the CN does not match this, the connection attempt will fail. // The value to specify will always be the same as the Host: header you specify. stream_context_set_option($ctx, "ssl", "CN_match", "secure.sample.domain"); $ssl = fsockopen("ssl://secure.sample.domain", 443, $errno, $errstr, 10, $ctx); if ($ssl) { fwrite($ssl, "GET / HTTP/1.0\r\nHost: secure.sample.domain\r\n\r\n"); fpassthru($ssl); } ?>
* MFHIlia Alshanetsky2003-04-251-3/+3
|
* MFH: compile fixes for AIX/HPUXfoobar2003-04-251-5/+17
|
* MFH(r-1.172): moved copyright notice to the better placeMoriyoshi Koizumi2003-04-251-1/+4
|
* MFH(r-1.171): added a bogus copyright noticeMoriyoshi Koizumi2003-04-251-0/+1
|
* MFHfoobar2003-04-258-76/+50
|
* This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.SVN Migration2003-04-251-0/+9
|
* MFH: Fixed bug #23099 (ext/interbase: "libgds.so: undefined reference to ↵foobar2003-04-251-3/+11
| | | | 'crypt'")
* This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.SVN Migration2003-04-256-0/+125
|
* MFHfoobar2003-04-251-0/+3
|
* emalloc -> safe_emallocIlia Alshanetsky2003-04-254-22/+22
|
* emalloc -> safe_emallocIlia Alshanetsky2003-04-251-2/+2
|
* minor compiler incompatability fixesDavid Hill2003-04-241-0/+1
|
* emalloc -> safe_emallocIlia Alshanetsky2003-04-242-9/+9
|
* MFHfoobar2003-04-231-1/+3
|
* emalloc -> safe_emallocIlia Alshanetsky2003-04-236-39/+39
|
* &039; which is a single-quote may also come in as &39; I see no reasonRasmus Lerdorf2003-04-221-0/+1
| | | | | not to handle both in html_entity_decode()
* Drop php_info_print_table_row_ex from the 4.3 branchSascha Schumann2003-04-222-28/+5
|
* emalloc -> safe_emalloc.Ilia Alshanetsky2003-04-224-17/+17
|
* MFH(r-1.136): the feature is less relevant to encoding conversion indeedMoriyoshi Koizumi2003-04-211-2/+2
|
* MFH: Fixed bug #23198foobar2003-04-211-2/+5
|
* MFHIlia Alshanetsky2003-04-191-1/+1
|
* MFHIlia Alshanetsky2003-04-191-5/+2
|
* MFHSascha Schumann2003-04-192-5/+28
|
* MFH(r-1.135, r-1.268): made phpinfo() / gd_info() indicate availability ofMoriyoshi Koizumi2003-04-192-1/+10
| | | | | JIS feature
* MFH(r-1.134): fixed help text alignmentMoriyoshi Koizumi2003-04-191-1/+1
|
* Don't spill our (PHP) HAVE_PGSQL/MYSQL into the mnogo header(s)Sascha Schumann2003-04-191-0/+2
|
* remove useless prototypeSascha Schumann2003-04-191-2/+0
|
* added an option to support japanese encoding conversion in bundled gd.Rui Hirokawa2003-04-191-0/+14
|
* MFHIlia Alshanetsky2003-04-181-0/+7
|
* MFHfoobar2003-04-172-17/+18
|
* MFH: fix some segfaults in some pg_lo_* functionsJay Smith2003-04-171-1/+17
|
* touchfoobar2003-04-171-2/+2
|
* Integer overflow stuff.Ilia Alshanetsky2003-04-161-4/+8
|
* safe_emalloc() and few other integer overflow fixes.Ilia Alshanetsky2003-04-161-10/+13
|
* MFH(r-1.226, r-1.24, r-1.99, r-1.68): fixed implicit cast issueMoriyoshi Koizumi2003-04-164-7/+7
|
* MFH(r-1.9): fixed bug #19795Moriyoshi Koizumi2003-04-161-13/+13
|
* MFH(r-1.10): fixed typoMoriyoshi Koizumi2003-04-161-3/+3
|
* MFH(r-1.137): compiler warning fix & possible 64bit fixMoriyoshi Koizumi2003-04-161-1/+2
|
* safe_emalloc()Marcus Boerger2003-04-163-8/+6
|
* MFH: prepare for safe_emallocMarcus Boerger2003-04-161-111/+120
|