Help Plz Getting Syntax Error

Started on the old forum in July 2007 · view the original in the archive · old links redirect here

9 replies · 903 views · started 19 years ago · 1 min read

3 participants
Anshul Senior · 296 posts #1

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"> External image (may be gone) Welcome Users Online(1 ) 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/>

Anshul Senior · 296 posts #3

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

Anshul Senior · 296 posts #5

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

crazybrumi Super moderator Principal · 1,064 posts #8

TRY REPLACING IT WITH THIS AND SEE IF IT WORKS

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="o">

External image (may be gone)

Username:

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

Password:

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

External image (may be gone)

<?php echo "You are here with: "; $phone=$_SERVER['HTTP_USER_AGENT']; $subno=$_SERVER['HTTP_X_UP_SUBNO']; printf ($phone); printf ($subno); echo " "; echo "</card>"; echo "</wml>"; ?>

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

FlareX #10

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

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close