Jump to content

[SOLVED] Error when starting a script with <?php


lococobra

Recommended Posts

I'm having a very strange problem.

 

This:

<?php
session_start();
?>

 

Is giving me the error:

Fatal error: Call to undefined function phpsession_start() in /blah/blah/blah.php on line 1

 

However, the following code executes with no errors:

<?
session_start();
?>

 

Anyone know what could possibly be the problem? It doesn't matter what the function I run is... running "echo 'Hello, World!';" gives me an unexpected T_CONSTANT_ENCAPSED_STRING error.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.