You are here: Session... « PHP Programming Language « IT news, forums, messages
Session...

Posted by Sa on 05/10/05 00:51

Hi, all

i must say that i'm new in using sessions and i though i understood the
meaning work of them..
but i have such script that don't do properly what i want.

Its really a simple store of a variable counter...

i firstly use:

session_start();

$f=fopen("count","rb");
$count = fread($f,5000);
fclose($f);

if(session_is_registered($count)){
$count = $count + 1;
}
session_register("count");


but it never jump the if...meaning that is always registered...
some help?
thank you

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация