why config.php file doesn't has "?>" tag in vbulletin ??

Discussion in 'vBulletin' started by crazy.works, Oct 31, 2009.

  1. #1
    well, the last week was my first time to get in touch with the vbulletin, so after the installation i decided to make little modifications in the config directory, the config calling and the stuff like that to secure the forum that i have built. But i couldn't understand why and how the config.php file doesn't has "?>" tag at the end of it ????!!!
    so please anybody can explain to me how and why the config.php file doesn't has "?>" tag at the end of it ????!!!
    Beside anybody can provide any nice links or tutorials about explanation for how the vbulletin system works please ?

    thanks a lot
     
    crazy.works, Oct 31, 2009 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    digitalpoint, Oct 31, 2009 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    The closing PHP tag is optional and is helpful to prevent unwanted white-space after the PHP tag that would output as text or prevent header() functions from being used.

    Since it's a file that is edited by users often, it's a good idea imo.
     
    digitalpoint, Oct 31, 2009 IP