Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » HTML
Re: HTML [message #353104 is a reply to message #352979] Sat, 04 October 2008 01:53 Go to previous messageGo to previous message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma:
Colonel

[quote title=Goztow wrote on Fri, 03 October 2008 01:25]PHP and html combo, name the file test.php:

if ($_SERVER['REQUEST_METHOD'] == 'POST'){
if ($_POST['name'] == "announced") {
echo "announced was spelled correctly";
}else{
echo "announced was not spelled correctly";
}
}else{
echo "<form method=POST action='test.php'>
<INPUT TYPE='hidden' NAME='submit' VALUE='lalalalala'>
How do you spell announced?
<BR>
<INPUT TYPE='text' NAME='name'>
<br><br>
<INPUT TYPE='submit' VALUE='Login'>
</form>";
}
[/code]

Show's this in explore
if ($_SERVER['REQUEST_METHOD'] == 'POST'){ if ($_POST['name'] == "announced") { echo "announced was spelled correctly"; }else{ echo " announced was not spelled correctly"; } }else{ echo "


Would i have to upload the file somwhere?

when i hit the login button it says page cannot be displayed.


And i do google all the time and i looked at alot of site's befor i came here.


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Qantas Airlines: Repair Divison
Next Topic: Now that Tiberium is canceled...
Goto Forum:
  


Current Time: Sat Aug 03 15:15:08 MST 2024

Total time taken to generate the page: 0.01013 seconds