|
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
Navigation:
[Reply to this message]
|