Reply to Re: session problem

Your name:

Reply:


Posted by Captain Paralytic on 07/26/07 08:44

On 26 Jul, 09:35, scout3...@gmail.com wrote:
> Hi
>
> I am currently doing a php logging in function with user level
> (meaning which user shld go to which page). Currently i am at a loss
> of creating session parameters. The following code is used to
> determine which user is logging in:
>
> $level = $row['userlevel'];
> switch ($level){
> case 1:
> //redirect to employee page to apply leave
> include("employee.php");
> break;
> case 2:
> //redirect to employer showing all his employees applying
> leave
> include("employer.php");
> break;
>
> on e same file i have started my session with the intention of
> creating some session attributes.
> however when i try to do that i get tis message:
>
> Fatal error: Call to undefined function start() in C\......login.php
> on line 9
>
> Line 9 is session.start();
>
> Anyone can help me with this issue. Thanks alot

The manual can help you. That is where you will find that the function
is called session_start() and not sesion.start()!

[Back to original 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

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