Jump to content

MAtkins

New Members
  • Posts

    9
  • Joined

  • Last visited

MAtkins's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. requinix you are correct. I'm using Notepad++ and the file is encoded in utf-8. I have determined that if I encode it in ANSI the problem goes away. If I encode it in utf-8 the problem reoccurs. I've since learned that to check for BOM look in the lower right hand corner of Notepad++. It should say utf-8 BOM. It does NOT say that. It says DOS/Windows utf-8 instead. So, after reading your post I investigated further. I found a setting in Notepad++ that allows me to save in utf-8 without BOM. That solved my problem. THANK YOU!!!
  2. I'm on HostGator shared hosting. The code in the file http://sizzelicks.com/Test2.php is *exactly* this (I copy & paste everything): <?php session_start(); ?> <html> <body> Testing </body> </html>
  3. I expected this. Thanks. But, nope. There is no other code, no space before the <?php nothing. What I posted above is exactly what is in the file. I tried attaching the file. They won't let me. You could just copy the code and publish it to your server and see what happens. I'm at a loss.
  4. I'm trying to start a session in a simple php file. I keep getting "Cannot send session cache limiter - headers already sent " Here's *all* the code: <?php session_start(); ?> <html> <body> Testing </body> </html> Here's the URL: http://sizzelicks.com/Test2.php
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.