Re: Question for you guys and gals
| From: | Curt Zirzow | Date: | Fri, 22 Aug 2003 16:10:27 +0000 |
| Subject: | Re: Question for you guys and gals | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160424@lists.php.net to get a copy of this message | ||
* Thus wrote CPT John W. Holmes (holmes072000@charter.net):
> From: "David Smith" <dsmith@sebc.edu>
> > I have a problem. I have all my functions (currently) set aside in one
> > file, and I just require_once that page for all of the other pages that
> > may need any of those functions. In those functions I have it setup to
> > echo the link to the CSS page for my site (just a very lazy way of doing
> > it). My problem is on the sites that I use cookies or use the header to
> > redirect a page. How can I still have my CSS on my functions page and
> > not have problems with header errors because of this already being at
> > the top...recommendations?
>
> You already know the answer, stop doing it the lazy way. Have a function
> ...
>
> Or cheat and use output buffering.
IMO, thats an even more lazy way of doing it.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."