Php Code On Wml Page

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

    Php Code On Wml Page

    hi there
    i don't know php properly.
    i want to add admob code on my wml page how can i do it?

    i m using lycos Tripod and t35 hosting.....

    plz help me......

    #2
    <?php

    header("Content-type: text/vnd.wap.wml");
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: no-cache, must-revalidate");
    header("Pragma: no-cache");
    header("Provided-by: ngeo@ngeo.ro ");
    echo "<?xml version=\"1.0\"?>
    <!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
    ." \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";


    ?>
    <wml>
    <card id="ngeo" title="<?php echo"$title";?>">
    <p align="center">[img]img/logo.gif[/img]


    </p>
    <p align="center"><big>welcome to
    ngeo mobile chat

    </big></p>
    <p align="left">
    <a href ="wml.php?type=chat&amp;nocache_time=<?php echo $now;?>">enter</a>
    </p>
    <p align="center">
    <a href ="wml.php?type=terms&amp;nocache_time=<?php echo $now;?>">terms</a>
    </p>


    </card>
    </wml>


    .php not . wml
    http://ngeo.ro

    Comment


      #3
      hi there
      i don&#39;t know php properly.
      i want to add admob code on my wml page how can i do it?

      i m using lycos Tripod and t35 hosting.....

      plz help me......
      [/b]


      <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>make admob.php
      then copy & paste the php codes in the admob.php


      the add this include("admob.php"); in ur wml page where u want to show the add links

      </div>
      and also dont 4get to change from "test" into "live" in ur admob php codes

      Comment

      Working...
      X