Blank Screen .. ...

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

    Blank Screen .. ...

    hey ppl hears the the thing, am writing a script and testing it with opera everything works ok,i try viewing it with my w810i it shows me a blank screen ...i delete everything from the index and leave only the head along with <wml>

    TEST

    </wml>
    it shows on opera but still blank on phone so i figure out more than less that nothing is wrong with the script, just dont know why my phone show blank page . ..

    R.M.C
    ----------
    PHP Adovocate B)

    #2
    Code:
    <?php 
    header("Content-type: text/vnd.wap.wml"); 
    echo "<?xml version=\"1.0\"?>"; 
    echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; 
    echo "<wml>"; 
    ?>
    <card id="card1" title="card">
    <p align="center">
    
    <?php
    
    echo "Write text in here";
    
    echo "</p>"; 
    echo "</card>"; 
    echo "</wml>"; 
    ?>

    THERE YOU GO MATE THAT SHOULD WORK
    Want something coded email me at sales@webnwaphost.com for a prices.




    Comment


      #3
      ///THAT HEADER OF YOUR WORK ON MY PHONE BUT
      MY OWN SAYS SOMETHING IS WRONG WITH THE PAGE OK $CARDHEAD HAVE CARD,AND ALIGN $CARDFOOT HAVE END OF THE CARD AND END OF THE ALIGN
      <?php
      header("Content-type: text/vnd.wap.wml");
      header("Cache-Control: no-store, no-cache, must-revalidate");
      echo("<?xml version=\"1.0\"?>");
      echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
      ?>

      <?php
      $con = mysql_connect("DBHOST","DBNAME","$DBPASS");
      if (!$con)
      {
      echo "Site is down";
      }

      ?>
      <wml>
      <?php
      include("data.php");

      if($action=="signin")
      {echo $cardhead;
      //LOGIN FIELD

      echo "Enter your login details";
      echo "</p>

      ";
      echo "<form action=\"signin.php\" method=\"Post\">User name: <input type=\"text\" name=\"uname\"/>$s
      Password: <input type=\"password\" name=\"upass\"/>$s<select name=\"staylog\">Remember me?$s<option value=\"yes\">Yes</option><option value=\"no\">No</option></select><input type=\"submit\"/></form> $s";
      echo "</p>$pc";
      echo "<do type=\"accept\" label=\"Back\"><prev/></do>";

      echo " | <a href=\"index.php\">Home</a>";

      echo $cardfoot;
      }
      else
      {
      //FRONT PAGE
      echo $cardhead;

      echo "Welcome Guest $s";


      echo "( <a href=\"index.php?action=signin\"> Sign in</a>";

      echo " | <a href=\"signup.php\">Sign up</a> )$s";


      echo $cardfoot;
      }

      ?>

      <p align="center">



      © Copyright all Right reserved®
      Script by: Mc_keny
      </p>
      </wml>

      R.M.C
      ----------
      PHP Adovocate B)

      Comment


        #4
        Code:
        <?php
        header("Content-type: text/vnd.wap.wml");
        header("Cache-Control: no-store, no-cache, must-revalidate");
        echo("<?xml version=\"1.0\"?>");
        echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
        echo "<wml>";
        ?>
        
        <?php 
        $con = mysql_connect("DBHOST","DBNAME","$DBPASS"); 
        if (!$con) 
        {
        echo "Site is down"; 
        } 
        
        ?>
        
        <?php
        include("data.php");
        
        if($action=="signin")
        {echo $cardhead;
        //LOGIN FIELD
        
        echo "Enter your login details";
        echo "</p>
        
        ";
        echo "<form action=\"signin.php\" method=\"Post\">User name: <input type=\"text\" name=\"uname\"/>$s
        Password: <input type=\"password\" name=\"upass\"/>$s<select name=\"staylog\">Remember me?$s<option value=\"yes\">Yes</option><option value=\"no\">No</option></select><input type=\"submit\"/></form> $s";
        echo "</p>$pc";
        echo "<do type=\"accept\" label=\"Back\"><prev/></do>";
        
        echo " | <a href=\"index.php\">Home</a>";
        
        echo $cardfoot;
        }
        else
        {
        //FRONT PAGE 
        echo $cardhead;
        
        echo "Welcome Guest $s";
        
        
        echo "( <a href=\"index.php?action=signin\"> Sign in</a>";
        
        echo " | <a href=\"signup.php\">Sign up</a> )$s";
        
        
        echo $cardfoot;
        }
        
        ?>
        
        <p align="center">
        
        
        
        © Copyright all Right reserved®
        Script by: Mc_keny 
        </p>
        </wml>
        Want something coded email me at sales@webnwaphost.com for a prices.




        Comment


          #5
          YOUR PAGE WORKIN
          Want something coded email me at sales@webnwaphost.com for a prices.




          Comment


            #6
            yeah i know it works with opera but not with my w810i get a error message saying something is wrong with the page you try to access try another link grr i even write over the script from scratch. ...

            R.M.C
            ----------
            PHP Adovocate B)

            Comment


              #7
              Code:
              <?php 
              header("Content-type: text/vnd.wap.wml"); 
              echo "<?xml version=\"1.0\"?>"; 
              echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; 
              echo "<wml>"; 
              ?>
              <card id="card1" title="Login">
              <p align="center">
              
              
              <?php 
              $con = mysql_connect("DBHOST","DBNAME","$DBPASS"); 
              if (!$con) 
              {
              echo "Site is down"; 
              } 
              
              ?>
              
              <?php
              include("data.php");
              
              if($action=="signin")
              {echo $cardhead;
              //LOGIN FIELD
              
              echo "Enter your login details";
              echo "</p>
              
              ";
              echo "<form action=\"signin.php\" method=\"Post\">User name: <input type=\"text\" name=\"uname\"/>$s
              Password: <input type=\"password\" name=\"upass\"/>$s<select name=\"staylog\">Remember me?$s<option value=\"yes\">Yes</option><option value=\"no\">No</option></select><input type=\"submit\"/></form> $s";
              echo "</p>$pc";
              echo "<do type=\"accept\" label=\"Back\"><prev/></do>";
              
              echo " | <a href=\"index.php\">Home</a>";
              
              echo $cardfoot;
              }
              else
              {
              //FRONT PAGE 
              echo $cardhead;
              
              echo "Welcome Guest $s";
              
              
              echo "( <a href=\"index.php?action=signin\"> Sign in</a>";
              
              echo " | <a href=\"signup.php\">Sign up</a> )$s";
              
              
              echo $cardfoot;
              }
              
              
              echo "
              
              ©Copyright all Right reserved®
              Script by: Mc_keny";
              
              
              echo "</p>"; 
              echo "</card>"; 
              echo "</wml>"; 
              ?>
              Want something coded email me at sales@webnwaphost.com for a prices.




              Comment


                #8
                <?php
                header("Content-type: text/vnd.wap.wml");
                echo "<?xml version=\"1.0\"?>";
                echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
                echo "<wml>";
                ?>
                <card id="card1" title="Login">
                <p align="center">


                <?php
                $con = mysql_connect("DBHOST","DBNAME","$DBPASS");
                if (!$con)
                {
                echo "Site is down";
                }

                ?>

                <?php
                include("data.php");

                if($action=="signin")
                {echo $cardhead;
                //LOGIN FIELD

                echo "Enter your login details";
                echo "</p>

                ";
                echo "<form action=\"signin.php\" method=\"Post\">User name: <input type=\"text\" name=\"uname\"/>$s
                Password: <input type=\"password\" name=\"upass\"/>$s<select name=\"staylog\">Remember me?$s<option value=\"yes\">Yes</option><option value=\"no\">No</option></select><input type=\"submit\"/></form> $s";
                echo "</p>$pc";
                echo "<do type=\"accept\" label=\"Back\"><prev/></do>";

                echo " | <a href=\"index.php\">Home</a>";

                echo $cardfoot;
                }
                else
                {
                //FRONT PAGE
                echo $cardhead;

                echo "Welcome Guest $s";


                echo "( <a href=\"index.php?action=signin\"> Sign in</a>";

                echo " | <a href=\"signup.php\">Sign up</a> )$s";


                echo $cardfoot;
                }


                echo "

                ©Copyright all Right reserved®
                Script by: Mc_keny";


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


                sum of the codes wernt showin up in code format so use this 1
                Want something coded email me at sales@webnwaphost.com for a prices.




                Comment


                  #9
                  put them together plz work lol

                  &# 16 9; Copyright all Right reserved &# 174;
                  Want something coded email me at sales@webnwaphost.com for a prices.




                  Comment


                    #10
                    I find out what i did wrong coding too fast anyway thanks for helping

                    R.M.C
                    ----------
                    PHP Adovocate B)

                    Comment

                    Working...
                    X