Reply to Re: DIssapearing/reappearing Session variables

Your name:

Reply:


Posted by iktorn on 04/09/07 19:52

dangerd napisał(a):
> Hello,
>
> Thought I'd try this forum as I got some useful help from here before.
>
>
> Duncs
>
> The code for all the php pages can be seen by changing the .php
> to .txt, i.e:
>

Hello, first of all
http://www.multidome.co.uk/test/authorisation.txt
is wrong - you should call session_start() before sending any data to
the browser (at the beggining of your scripts).
Write it for example one line after error_reporting (null);
(and remove it from auth() function).

Secondly, don't use session_register, just write anything to $_SESSION
(if you are using PHP 4.1 or later).


--
Wiktor Walc
http://phpfreelancer.net

[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

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