|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-03-22 18:34 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 16:00:01 2025 UTC |
I have a page that looks like this: session_name("MyName"); session_start(); include("afile"); ... more stuff here include("adiffernetfile"); in the "afile" is the command ob_start("ob_gzhandler"); in the "adifferentfile" is the command ob_end_flush(); when I open a browser and go to the page, the first time the page runs it gives an error: Warning: ob_gzhandler() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in /blahblah/includes/adifferentfile.inc on line 23 on subsequent reloads this error does not come up. If I comment out the session_name("MyName"); line, the error does not come up. //======================== './configure' '--with-apxs=/usr/local/apache/1.3.27/bin/apxs' '--with-config-file-path=/usr/local/lib' '--disable-debug' '--enable-memory-limit' '--enable-zend-multibyte' '--with-regex=system' '--enable-mbstring=all' '--enable-mbregex' '--enable-dio' '--enable-versioning' '--with-msql=shared' '--with-bz2=shared,/usr' '--enable-sockets=shared' '--with-pcre-regex=/usr/local' '--with-iconv=shared,/usr/local' '--with-gdbm=shared,/usr/local' '--with-db3=shared,/usr/local' '--with-gettext=shared,/usr/local' '--with-curl=shared,/usr/local/curl' '--with-openssl=shared,/usr' '--with-pgsql=shared,/usr/local/pgsql' '--with-openssl=/usr' '--with-gd=shared,yes' '--enable-gd-native-ttf=shared' '--with-freetype-dir=shared,/usr/local' '--with-ttf=shared,/usr/local' '--with-jpeg-dir=shared,/usr/local' '--with-png-dir=shared,/usr/local' '--with-t1lib=shared,/usr/local' '--with-zlib=/usr' '--with-zlib-dir=/usr' '--enable-ftp=shared' '--with-imap=shared,/usr/local' '--with-mcrypt=shared,/usr/local' '--with-mhash=shared,/usr/local' '--with-dom=shared,/usr/local/libxml2' '--with-dom-xslt=shared,/usr/local' '--with-dom-exslt=shared,/usr/local' '--with-mysql=shared,/usr/local/mysql' '--with-zlib-dir=/usr'