I'm trying & trying & trying.... to build a wap site in php but i'm having NO luck what-so-ever.
i can view the site through WINWAP 3.1 but i cant view it through my 3510i it says "responce unknown" can some 1 help me solve this problem... pls pls pls!!!!!

My script is.....

<?php
header("Content-Type: text/vnd.wap.wml");
include("headerwml.php");
echo "<wml>";
echo "<card id=\"WAPchat\" title=\"WAPchat\">";

echo "<p align=\"center\">";
echo "<strong>W@Pchat</strong><br/>";
echo "<i>By:MobiTec</i><br/>";
countUserOnline(&$CountUser);
echo "Online:".$CountUser."<br/>";
echo "<a title=\"Enter\" href=\"login.php\">Enter Chat</a><br/>\n";

echo "</p>";
echo "</card>";

echo "</wml>";

?>

My header script is...

<script language = "php">
echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
</script>

Help Me Pls!!!

PS i am running this site on Lycos free hosting...
would that make a difference???

    can your 3510i open .php extensions?

    I believe nokia has an emulator...

      Well ive visited other sites that use .PHP so i should think so.. 🙂

        then start leeching the pages and compare... :rolleyes:

          dont mean to be dumb but whats leeching???? lol

            O_o

            ok try to get the generate code from the php pages and compare what they have and you don't and vice versa

            🙂

              How can i do that??? php doesnt show all code i dont think

                no but u can check MIME type of sent http and look in the generated code for some tag or meta u didn't use

                  Write a Reply...