A Lil Help Please

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    A Lil Help Please

    hello i am a newbie in making wap site..
    my problem is i dont get it.. where to put the java scripts or the php
    if it will put inside the .wml or you make a new file.. anyone can help me please?
    thanks...

    #2
    making a site

    php java wml html xhtml

    -------------------------

    you wont to make for phones or web computers ???
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      hello i am a newbie in making wap site..
      my problem is i dont get it.. where to put the java scripts or the php
      if it will put inside the .wml or you make a new file.. anyone can help me please?
      thanks...[/b]
      dont use java script in wml,
      if you use java script in php only 1-2% phones read correct java script that is one big issue of day.
      if you use javascript in php use xhtml headers like:
      <blockquote><!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html>
      <head>
      <meta http-equiv="content-type"
      content="text/html;charset=utf-8" />
      <title>
      </title>
      <link rel="stylesheet" type="text/css" href="style/stil.css" />
      </head>
      <?php
      include (&#39;date.php&#39;);
      ?>
      </body>
      </html></blockquote>

      where date.php is


      <blockquote><center>
      <script language="Javascript" type="text/javascript">

      dayName = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday ","Friday","Saturday")
      monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
      now = new Date
      </script>
      <script language="Javascript" type="text/javascript">
      document.write("" + dayName[now.getDay()] + ", " + monName[now.getMonth()] + ", " + now.getDate() + ",")
      </script>
      </center></blockquote>
      http://ngeo.ro

      Comment


        #4
        dont use java script in wml,
        if you use java script in php only 1-2% phones read correct java script that is one big issue of day.
        if you use javascript in php use xhtml headers like:
        <blockquote><!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        <html>
        <head>
        <meta http-equiv="content-type"
        content="text/html;charset=utf-8" />
        <title>
        </title>
        <link rel="stylesheet" type="text/css" href="style/stil.css" />
        </head>
        <?php
        include (&#39;date.php&#39;);
        ?>
        </body>
        </html></blockquote>

        where date.php is
        <blockquote><center>
        <script language="Javascript" type="text/javascript">

        dayName = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday ","Friday","Saturday")
        monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
        now = new Date
        </script>
        <script language="Javascript" type="text/javascript">
        document.write("" + dayName[now.getDay()] + ", " + monName[now.getMonth()] + ", " + now.getDate() + ",")
        </script>
        </center></blockquote>[/b]
        now i get it.. thanks
        more power!

        Comment


          #5
          <blockquote><center>
          <script language="Javascript" type="text/javascript">

          dayName = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday ","Friday","Saturday")
          monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
          now = new Date
          </script>
          <script language="Javascript" type="text/javascript">
          document.write("" + dayName[now.getDay()] + ", " + monName[now.getMonth()] + ", " + now.getDate() + ",")
          </script>
          </center></blockquote>[/b]
          does it also work with mobiles? i never tried to use a java code for xhtml.
          Advertise your mobile site for FREE with AdTwirl

          Comment


            #6
            does it also work with mobiles? i never tried to use a java code for xhtml.[/b]

            yes, some mobiles.... some LG have special pharsers included and dont run the script...anyway the java code for mobile is doubtful for non java phones and for wml strict phones (wml 1.1)
            windows mobile , smartphones like nokia, opera ,etc, are ok. what matter is the user, what phone have and what you want to show with java code. if you show the date... that is more evident with php.
            http://ngeo.ro

            Comment


              #7
              u could put in a requirement if content java can run to use the java addons then u wonthav 2 wori if they can run it or not

              Comment

              Working...
              X