Results 1 to 2 of 2

Thread: my WAMP doesnot support short PHP delimiter

  1. #1
    Join Date
    Feb 2009
    Posts
    156
    Thanks
    0
    Thanked 4 Times in 3 Posts

    Default my WAMP doesnot support short PHP delimiter

    i am using WAMP server, but when i use <? ?> tags only it doesnot interpret the PHP code and simply prints on browser screen, it works fine with <?php ?> tags


    so what i need to do, i know it can be changed by modifying the .ini fine, is sm1 know how to change...

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    The simplest and best solution is to not use the short tags. Full tags are more portable and you never have to worry about whether or not they will work - they always work!

    Most web hosts can (and will, if you ask nicely) change the short tag option, or will allow you to do so via php.ini:
    Code:
    short_opentag=On

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
  •