-Message d'origine-
De : Matthew Powell [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 20 avril 2007 18:57
À : php-general@lists.php.net
Objet : Re: [PHP] Session with microtime
Panquekas wrote:
On 20/04/07, Panquekas [EMAIL PROTECTED] wrote:
snip
I'm sorry, my mistake
At 11:56 AM -0500 4/20/07, Matthew Powell wrote:
Panquekas wrote:
On 20/04/07, Panquekas [EMAIL PROTECTED] wrote:
snip
I'm sorry, my mistake. What I tried to say is that the session_start() was
on the top of the page, and the if( ) block was after that and the login
script was even
On 19/04/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Thu, April 19, 2007 11:32 am, Panquekas wrote:
I'm writting a script where I use the function microtime with sessions
and I
have a problem.
This is my code:
if( $_SESSION['uperm'] == '1' ){
$t_start = microtime(1);
}
()
On 20/04/07, Panquekas [EMAIL PROTECTED] wrote:
On 19/04/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Thu, April 19, 2007 11:32 am, Panquekas wrote:
I'm writting a script where I use the function microtime with sessions
and I
have a problem.
This is my code:
if(
Panquekas wrote:
On 20/04/07, Panquekas [EMAIL PROTECTED] wrote:
snip
I'm sorry, my mistake. What I tried to say is that the session_start() was
on the top of the page, and the if( ) block was after that and the login
script was even after the if( ), so the first thing to ran was the
On Fri, 2007-04-20 at 11:56 -0500, Matthew Powell wrote:
Panquekas wrote:
On 20/04/07, Panquekas [EMAIL PROTECTED] wrote:
snip
I'm sorry, my mistake. What I tried to say is that the session_start() was
on the top of the page, and the if( ) block was after that and the login
script
On Fri, April 20, 2007 11:56 am, Matthew Powell wrote:
Am I the only one that uses 'session.auto_start = 1'?
It saves me from worrying about that type of problem.
It also causes some overhead if you've got a LOT of pages that are NOT
using sessions...
So you're not the ONLY one who uses it,
hello,
I'm writting a script where I use the function microtime with sessions and I
have a problem.
This is my code:
if( $_SESSION['uperm'] == '1' ){
$t_start = microtime(1);
}
()
if( $_SESSION['uperm'] == '1' ){
$t_end = microtime(1) - $t_start;
$time .= \n . 'PThis page was
Panquekas wrote:
hello,
I'm writting a script where I use the function microtime with sessions
and I
have a problem.
This is my code:
if( $_SESSION['uperm'] == '1' ){
$t_start = microtime(1);
}
when you initially log in, it creates this variable.
Sounds to me like it is creating the
Panquekas wrote:
It's d0ne, thank you very much!
No problem, just remember to reply on list next time.
It was what you were saying, the $_SESSION['uperm'] wasn't being define in
the first place, I moved my login script above that if and it work it
out.
And thanks for that trick of error
On Thu, April 19, 2007 11:32 am, Panquekas wrote:
I'm writting a script where I use the function microtime with sessions
and I
have a problem.
This is my code:
if( $_SESSION['uperm'] == '1' ){
$t_start = microtime(1);
}
()
if( $_SESSION['uperm'] == '1' ){
$t_end =
11 matches
Mail list logo