Blank Screen .. ...

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

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

2 participants
mcKeny Developer · 130 posts #1

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)

crazybrumi Super moderator Principal · 1,064 posts #2
<?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.

http://flagcounter.com/more/W80q

mcKeny Developer · 130 posts #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 "

"; 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 " $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; }

?>

© Copyright all Right reserved® Script by: Mc_keny

</wml>

R.M.C

PHP Adovocate B)

crazybrumi Super moderator Principal · 1,064 posts #4
<?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.

http://flagcounter.com/more/W80q

mcKeny Developer · 130 posts #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)

crazybrumi Super moderator Principal · 1,064 posts #7
<?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.

http://flagcounter.com/more/W80q

crazybrumi Super moderator Principal · 1,064 posts #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">

<?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 " "; 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 " $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 " "; 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.

http://flagcounter.com/more/W80q

mcKeny Developer · 130 posts #10

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

R.M.C

PHP Adovocate B)

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