SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    calif
    Posts
    741
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Call to undefined function phpsession_start()

    Code:
    <?php
    session_start();
    ?>
    Is giving me the error:
    Fatal error: Call to undefined function phpsession_start() in /home/search.php on line 1

    However, the following code executes with no errors:
    Code:
     <?
    session_start();
    ?>
    Anyone know what could possibly be the problem?
    Thanks

  2. #2
    SitePoint Wizard bronze trophy
    Join Date
    Jul 2008
    Posts
    5,757
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My guess would be the source code of the file is not what you think it is. It's probably really something like this:
    PHP Code:
    <?phpsession_start();


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •