Help Plz Getting Syntax Error

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

    Help Plz Getting Syntax Error

    any1 help me tell hw to fix this error I upload a cz script wen i open
    site by net front it works well
    but wen i open it by opera is
    show me XML parsing failed:
    syntax error (Line: 2 ,
    Character: 0)

    Reparse document as HTML

    Error:invalid character

    1 : <?xml version="1.0
    "?><!DOCTYPE wml PUBLIC "-
    //WAPFORUM//DTD WML 1.1//EN" "
    http://www.wapforum.org/DT
    D/wml_1.1.xml "><wml>

    2 : <card title="Anshul"><p
    align="center"><small>[img]./Logo.gif[/img]
    Welcome<br
    /><a href="./online.php">Users
    Online(1
    )</a>
    Login:
    <input
    type="text"
    name="login"/>
    Password:<
    br/><input type="password"
    name="pass 37535
    "/>
    <anchor
    title="go">Enter<go
    href="enter.php"
    method="post"><postfield
    name="login" value="$
    (login)"/><postfield name="pass"
    value="$(pass 37535
    )"/></go></anchor>
    Register<
    br/>

    #2
    hmm try replacing your index file with a new one it mite work then
    http://img235.imageshack.us/my.php?i...sc00464af9.jpg



    http://matthewdowd.bebo.com

    Comment


      #3
      I think it is the problem of ini.php bt dnt knw to fix it m jus begginer

      Comment


        #4
        replace ini.php with the one in the zip file
        http://img235.imageshack.us/my.php?i...sc00464af9.jpg



        http://matthewdowd.bebo.com

        Comment


          #5
          Check error come wen i edit ini.php in one site /and my other Anshulwap.Coolinc.Info it come wen i upload

          Comment


            #6
            i dont know the problem then sorry
            http://img235.imageshack.us/my.php?i...sc00464af9.jpg



            http://matthewdowd.bebo.com

            Comment


              #7
              Okay

              Comment


                #8

                TRY REPLACING IT WITH THIS AND SEE IF IT WORKS


                <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><?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="o">
                <p align="center">
                [img]logo1.gif[/img]


                Username:

                <input name="username" maxlength="20" />


                Password:

                <input type="password" name="password" maxlength="20"/>


                <?php
                echo "<a href=\"verify.php?username=$(username)&amp;passwor d=$(password)\"><img src=\"login.png\" alt=\"Login\"/></a>";
                echo "
                <a href=\"register.php\"><img src=\"register.png\" alt=\"Register\"/></a>
                "
                ?>

                [img]bar.gif[/img]

                <?php

                echo "You are here with:
                ";
                $phone=$_SERVER[&#39;HTTP_USER_AGENT&#39;];
                $subno=$_SERVER[&#39;HTTP_X_UP_SUBNO&#39;];
                printf ($phone);
                printf ($subno);


                echo "</p>";
                echo "</card>";
                echo "</wml>";
                ?></div>
                Want something coded email me at sales@webnwaphost.com for a prices.




                Comment


                  #9
                  stupid me must have been have a sleep when i replied to this lol, that was completley the wrong script lol i gave there lol
                  Want something coded email me at sales@webnwaphost.com for a prices.




                  Comment


                    #10
                    futurewap i dont think it mata if u change the idex , thers a error in the script

                    Comment

                    Working...
                    X