session values

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

session values

Post by pelegk2 »

i opened a session file and so it's written :

Code: Select all

<?php
login|i:3;
?>
what the (i) stands for?for int?
User avatar
Buddha443556
Forum Regular
Posts: 873
Joined: Fri Mar 19, 2004 1:51 pm

Post by Buddha443556 »

I think it's an integer.

s:n - strings (n is string length)
a:n - arrays (n is number of elements)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

the stuff between the pipe and semicolon is a [php_man]serialize[/php_man]d variable, the variables name is the information before the pipe.. and yes, i is for integer.
Post Reply