php include error? what's missing here.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spacedog
    Yes that IS me. Bitch.
    • Nov 2001
    • 14149

    #1

    php include error? what's missing here.

    Code:
    include("core.inc.php");
    the above code should work, but it don't? I don't know what's wrong with it.

    if I do
    Code:
    <!--#include file="core.inc.php"-->
    this works when using .shtml extension, but I need to use .php extension for the other scripts
  • BradM
    Confirmed User
    • Dec 2003
    • 3397

    #2
    Post the exact error

    Comment

    • spacedog
      Yes that IS me. Bitch.
      • Nov 2001
      • 14149

      #3
      Code:
      <?php include(core.inc.php); ?>

      nevermind

      Comment

      • BoyAlley
        So Fucking Gay
        • Nov 2004
        • 19714

        #4
        Originally posted by spacedog
        Code:
        <?php include(core.inc.php); ?>

        nevermind
        OMG that's classic

        Comment

        • BradM
          Confirmed User
          • Dec 2003
          • 3397

          #5
          I figured it was something like that. Nothing to be ashamed of, I did worse when I was a newb.

          Comment

          Working...