FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » session question
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: session question [message #177771 is a reply to message #177770] Fri, 20 April 2012 18:08 Go to previous messageGo to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma:
Senior Member
Am 20.04.2012 19:17, schrieb Tim Streater:
> In article <jms1ef$h74$1(at)dont-email(dot)me>,
> William Gill <nospam(at)domain(dot)invalid> wrote:
>
>> On 4/20/2012 11:50 AM, Michael Fesser wrote:
>>> .oO(William Gill)
>>>
>>>> I know what the documentation says, and I know what's actually
>>>> happening. I have checked "my code"
>>>>
>>>> from the test page:
>>>>
>>>>
>>>> <?php session_start(); ?>
>>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
>>>> "http://www.w3.org/TR/html4/strict.dtd">
>>>>
>>>> the first 5 characters in the file are "<?php".
>>>
>>> Are you using UTF-8? Then there might be a BOM at the very beginning of
>>> the file.
>>>
>>> Micha
>>>
>> And we have a winner ladies and gentlemen!
>>
>> Thank you very much Micha, at my age pulling my hair out isn't recommended.
>
> Thus illustrating why it's *not* a good idea to save UTF-8 files with BOM.

Your editor does it for you, you won't see it. The same problem comes up in other
programming languages.

Programs - Webserver, PHP - must adapt to it, it is a legal sign.

/Str.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Date/Time warning
Next Topic: How to create an instance from a class name
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 14:06:27 GMT 2024

Total time taken to generate the page: 0.06261 seconds