Stuart Dallas ha scritto:
>On 8 Jun 2012, at 00:39, Tazio Ceri wrote:
>
>> I have a PHP script that takes very long time to execute. I manage it
>using the following structure:
>>
>> ob_start();
>>
>> // some code
>> session_start();
>> // some code
>>
>> header("Content-length: ".ob_get_lengt
i can't undersans much of your question,, but i think you supposed to write
the statement to set the variable's value after the "session_start()"
called, like this ...
session_start();
. some codes
$_SESSION['some_var']; <--- don't put it before the session_start()
On Thu, Jun 7, 2012 at 5
On 8 Jun 2012, at 00:39, Tazio Ceri wrote:
> I have a PHP script that takes very long time to execute. I manage it using
> the following structure:
>
> ob_start();
>
> // some code
> session_start();
> // some code
>
> header("Content-length: ".ob_get_length());
> ob_end_flush();
>
> // some
Hi all,
I have a PHP script that takes very long time to execute. I manage it using the
following structure:
ob_start();
// some code
session_start();
// some code
header("Content-length: ".ob_get_length());
ob_end_flush();
// some other, very long, code!
The problem I am facing is that, aft
4 matches
Mail list logo