Permalink
Switch branches/tags
Commits on Apr 28, 2003
  1. - Bumb the version to 4.3.2-RC2

    foobar
    foobar committed Apr 28, 2003
  2. MFH

    foobar
    foobar committed Apr 28, 2003
  3. usage fix

    Sascha Schumann
    Sascha Schumann committed Apr 28, 2003
  4. - MFH

    Derick Rethans
    Derick Rethans committed Apr 28, 2003
  5. - MFH

    Derick Rethans
    Derick Rethans committed Apr 28, 2003
  6. # on working disk again

    Sascha Schumann
    Sascha Schumann committed Apr 28, 2003
    reverting code, moving to correct branch
  7. # disk going bad, rescuing data

    Sascha Schumann
    Sascha Schumann committed Apr 28, 2003
    improve php_url_encode a bit
  8. MFH(r-1.336): added missing sanity check in fgetcsv()

    Moriyoshi Koizumi
    Moriyoshi Koizumi committed Apr 28, 2003
    Partly synchronised indents with HEAD
    # please merge CS fixes to branches too, or leave them as is :(
  9. MFH

    foobar
    foobar committed Apr 28, 2003
Commits on Apr 27, 2003
  1. MFH fix

    Marcus Boerger
    Marcus Boerger committed Apr 27, 2003
  2. fix TSRM

    smalyshev committed Apr 27, 2003
  3. Fix very nasty bug - session cookie kills one of the cookies

    smalyshev committed Apr 27, 2003
    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
Commits on Apr 26, 2003
  1. Fix the lack of SSL certificate verification support for ssl:// socke…

    wez committed Apr 26, 2003
    …ts and
    
    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);
    }
    
    ?>
Commits on Apr 25, 2003
  1. MFH

    Ilia Alshanetsky
    Ilia Alshanetsky committed Apr 25, 2003
  2. MFH: compile fixes for AIX/HPUX

    foobar
    foobar committed Apr 25, 2003
  3. MFH

    foobar
    foobar committed Apr 25, 2003
  4. MFH(r-1.172): moved copyright notice to the better place

    Moriyoshi Koizumi
    Moriyoshi Koizumi committed Apr 25, 2003
  5. MFH(r-1.171): added a bogus copyright notice

    Moriyoshi Koizumi
    Moriyoshi Koizumi committed Apr 25, 2003
  6. MFH

    foobar
    foobar committed Apr 25, 2003
  7. MFH

    foobar
    foobar committed Apr 25, 2003
  8. BFN

    foobar
    foobar committed Apr 25, 2003
  9. BFN

    foobar
    foobar committed Apr 25, 2003
  10. MFH: Fixed bug #23099 (ext/interbase: "libgds.so: undefined reference…

    foobar
    foobar committed Apr 25, 2003
    … to 'crypt'")
  11. MFH

    foobar
    foobar committed Apr 25, 2003
  12. MFH

    foobar
    foobar committed Apr 25, 2003
  13. MFH

    foobar
    foobar committed Apr 25, 2003
  14. emalloc -> safe_emalloc

    Ilia Alshanetsky
    Ilia Alshanetsky committed Apr 25, 2003
  15. emalloc -> safe_emalloc

    Ilia Alshanetsky
    Ilia Alshanetsky committed Apr 25, 2003
Commits on Apr 24, 2003
  1. minor compiler incompatability fixes

    David Hill
    David Hill committed Apr 24, 2003