Welcome Guest, Not a member yet? Register   Sign In
Implementing some code
#1

[eluser]manilodisan[/eluser]
I'm trying to implement what seems to be a very good class but I'm having big troubles. The code is supposed to help me cache the pages better and have some sort of a better control over the headers and stuff. The problem is that I have to use the code right after an ob_start() which should sit after the opening php tag and call the class right before the closing php tag. This would have been very simple on a regular php file but, as you can surely imagine, it's a little complicated with our controllers and views.

Here's a sample usage of the code:
Code:
<?php
//------------Start of file---------------

ob_start();            // <==== line 1
include('Conteg.inc'); // <==== line 2

//the page ...

new Conteg();          // <==== line 3
//-------------End of file----------------
?&gt;

Also, here's a link to the original package (it's on phpclasses.org you will need some sort of credentials), PLUS the original support page for this class with more details.


I would really appreciate your help.

Thank you.


Messages In This Thread
Implementing some code - by El Forum - 09-14-2007, 07:09 AM
Implementing some code - by El Forum - 09-14-2007, 08:18 AM
Implementing some code - by El Forum - 09-14-2007, 08:22 AM
Implementing some code - by El Forum - 09-14-2007, 08:24 AM
Implementing some code - by El Forum - 09-14-2007, 08:34 AM
Implementing some code - by El Forum - 09-14-2007, 08:42 AM
Implementing some code - by El Forum - 09-14-2007, 08:44 AM
Implementing some code - by El Forum - 09-14-2007, 08:56 AM
Implementing some code - by El Forum - 09-14-2007, 09:02 AM
Implementing some code - by El Forum - 09-14-2007, 09:05 AM
Implementing some code - by El Forum - 09-14-2007, 09:09 AM
Implementing some code - by El Forum - 09-14-2007, 09:14 AM
Implementing some code - by El Forum - 09-15-2007, 11:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB