Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2008
    Location
    Cork- Ireland
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts

    enable short tags

    Hi all -

    I have a code snippet, which on running gives me an error messge saying

    "Short tags are disabled. The script won't work. Please enable short tags and refresh this page".

    How can I rectify this problem?
    Wow - I did'nt know that !!!

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Find your php.ini file in the apache directory and change short_open_tag = On
    , but it is not considered as a good practice for portable/redistributable code.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Feb 2008
    Location
    Cork- Ireland
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks -

    Will just switch on while in test.

    Dave
    Wow - I did'nt know that !!!


  •  

    Posting Permissions

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