<?php ...<? both are the php tags whats the diff

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • damod.php@gmail.com

    <?php ...<? both are the php tags whats the diff

    <?php ...<? both are the php tags whats the diff b/w name of the
    tag??? then
    i write the code using <? this tag full coding , but the server can
    not accept my (<?)tag,, its only used <? php tag only

    what can i do for ...

  • Kimmo Laine

    #2
    Re: &lt;?php ...&lt;? both are the php tags whats the diff

    damod.php@gmail .com kirjoitti:
    <?php ...<? both are the php tags whats the diff b/w name of the
    tag??? then
    i write the code using <? this tag full coding , but the server can
    not accept my (<?)tag,, its only used <? php tag only
    That's a php.ini setting called short_open_tags or something, which can
    be set on or off by server administrator. Apparently it's off in your case.
    what can i do for ...
    >
    Write <?php always. <? has it's downsides.

    --
    "En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviö
    spam@outolempi. net | Gedoon-S @ IRCnet | rot13(xvzzb@bhg byrzcv.arg)

    Comment

    • damod.php@gmail.com

      #3
      Re: &lt;?php ...&lt;? both are the php tags whats the diff

      On Feb 16, 10:56 pm, Kimmo Laine <s...@outolempi .netwrote:
      damod....@gmail .com kirjoitti:
      >
      <?php ...<? both are the php tags whats the diff b/w name of the
      tag??? then
      i write the code using <? this tag full coding , but the server can
      not accept my (<?)tag,, its only used <? php tag only
      >
      That's a php.ini setting called short_open_tags or something, which can
      be set on or off by server administrator. Apparently it's off in your case.
      >
      what can i do for ...
      >
      Write <?php always. <? has it's downsides.
      >
      --
      "En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviö
      s...@outolempi. net | Gedoon-S @ IRCnet | rot13(x...@bhgb yrzcv.arg)
      thanks for ur help.,
      you mean search all <? and put near <?php like that,,,,ok sir if any
      other way, if my project having lot of .php files means hat can i do
      for, ..

      Comment

      • Jim Carlock

        #4
        Re: &lt;?php ...&lt;? both are the php tags whats the diff

        On Feb 16, 10:56 pm, Kimmo Laine stated...
        : Write <?php always. <? has it's downsides.
        :


        <damod.php@gmai l.comasked...
        : you mean search all <? and put near <?php like that,,,,

        (1) Get a newsreader to post and read messages. Google
        creates problems.
        (2) Learn to properly write English when asking questions
        in English.

        "<?" confuses XML documents (as defined by the w3
        standards organization). All XML documents start off with
        an XML type declaration...

        <?xml version="1.0" encoding="utf-8"?>

        See...



        --
        Jim Carlock
        Post replies to the group.


        Comment

        • Mike Russell

          #5
          Re: &lt;?php ...&lt;? both are the php tags whats the diff

          "Jim Carlock" <anonymous@127. 0.0.1wrote in message
          news:45d6c40e$0 $28140$4c368faf @roadrunner.com ...
          ....
          (1) Get a newsreader to post and read messages. Google
          creates problems.
          This is not always practical.
          (2) Learn to properly write English when asking questions
          in English.
          This newsgroup is read by many people in many countries, so let's have a
          little tolerance. The OP's English was more than adequate, and in any case
          any question that can be understood can be answered.
          --
          Mike Russell



          Comment

          • fox.whisper@virgin.net

            #6
            Re: &lt;?php ...&lt;? both are the php tags whats the diff

            On Sat, 17 Feb 2007 12:27:22 GMT, "Mike Russell"
            <RE-MOVEmike@Curvem eister.comRE-MOVEwrote:
            >"Jim Carlock" <anonymous@127. 0.0.1wrote in message
            >news:45d6c40e$ 0$28140$4c368fa f@roadrunner.co m...
            >...
            >(1) Get a newsreader to post and read messages. Google
            >creates problems.
            >
            >This is not always practical.
            >
            >(2) Learn to properly write English when asking questions
            >in English.
            Learn not to split infinitives.
            >
            >This newsgroup is read by many people in many countries, so let's have a
            >little tolerance. The OP's English was more than adequate, and in any case
            >any question that can be understood can be answered.

            Comment

            • Jerry Stuckle

              #7
              Re: &lt;?php ...&lt;? both are the php tags whats the diff

              damod.php@gmail .com wrote:
              On Feb 16, 10:56 pm, Kimmo Laine <s...@outolempi .netwrote:
              >damod....@gmai l.com kirjoitti:
              >>
              >><?php ...<? both are the php tags whats the diff b/w name of the
              >>tag??? then
              >>i write the code using <? this tag full coding , but the server can
              >>not accept my (<?)tag,, its only used <? php tag only
              >That's a php.ini setting called short_open_tags or something, which can
              >be set on or off by server administrator. Apparently it's off in your case.
              >>
              >>what can i do for ...
              >Write <?php always. <? has it's downsides.
              >>
              >--
              >"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviö
              >s...@outolempi .net | Gedoon-S @ IRCnet | rot13(x...@bhgb yrzcv.arg)
              >
              thanks for ur help.,
              you mean search all <? and put near <?php like that,,,,ok sir if any
              other way, if my project having lot of .php files means hat can i do
              for, ..
              >
              No, if your host does not have short_open_tags enabled (I find that most
              do not), you can't use it. You must use <?php. So you'll have to
              change it in all of your files.

              --
              =============== ===
              Remove the "x" from my email address
              Jerry Stuckle
              JDS Computer Training Corp.
              jstucklex@attgl obal.net
              =============== ===

              Comment

              Working...