Re: headers_sent

From: Date: Mon, 19 Mar 2001 05:07:56 +0000
Subject: Re: headers_sent
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44484@lists.php.net to get a copy of this message
Thanks :-) ----- Original Message ----- From: "Jack Dempsey" <dempsejn@georgetown.edu> To: <php-general@lists.php.net>; "Clayton Dukes" <cdukes@cdukes.com> Sent: Monday, March 19, 2001 12:08 AM Subject: RE: [PHP] headers_sent > don't you need the () after headers_sent? > if(!isset(headers_sent()){include("header.php");} > haven't tried it but i'd think that would work > > jack > -----Original Message----- > From: Clayton Dukes [mailto:cdukes@cdukes.com] > Sent: Sunday, March 18, 2001 11:38 PM > To: php-general@lists.php.net > Subject: [PHP] headers_sent > > > What's the proper syntax for headers_sent? > > I tried: > if(!isset(headers_sent)) { include("header.php"); } > > But I get: > Parse error: parse error, expecting T_VARIABLE' or > '$'' in > /home/www/websites/pw/cisco/config/index.htm on line 3 > > > > > Clayton Dukes > CCNA, CCDA, CCDP, CCNP > Internetwork Solutions Engineer > Internetwork Management Engineer > Thrupoint, Inc. > Tampa, FL > (c) 904.477.7825 > (h) 904.292.1881 >

« previous php.general (#44484) next »