Click here to Skip to main content
15,886,689 members
Home / Discussions / Hosting and Servers
   

Hosting and Servers

 
AnswerRe: IIS problem Pin
Richard Deeming7-Dec-21 22:24
mveRichard Deeming7-Dec-21 22:24 
GeneralRe: IIS problem Pin
Luis M. Rojas8-Dec-21 1:37
Luis M. Rojas8-Dec-21 1:37 
GeneralRe: IIS problem Pin
Richard Deeming8-Dec-21 3:23
mveRichard Deeming8-Dec-21 3:23 
QuestionWindows Server R2012 and R2019 - kill suspended processes on Pin
Nuno Pereira 20214-Dec-21 3:53
Nuno Pereira 20214-Dec-21 3:53 
AnswerRe: Windows Server R2012 and R2019 - kill suspended processes on Pin
Dave Kreskowiak4-Dec-21 4:16
mveDave Kreskowiak4-Dec-21 4:16 
GeneralRe: Windows Server R2012 and R2019 - kill suspended processes on Pin
Nuno Pereira 20214-Dec-21 4:25
Nuno Pereira 20214-Dec-21 4:25 
GeneralRe: Windows Server R2012 and R2019 - kill suspended processes on Pin
Dave Kreskowiak4-Dec-21 4:31
mveDave Kreskowiak4-Dec-21 4:31 
GeneralRe: Windows Server R2012 and R2019 - kill suspended processes on Pin
Nuno Pereira 20216-Dec-21 0:59
Nuno Pereira 20216-Dec-21 0:59 
GeneralRe: Windows Server R2012 and R2019 - kill suspended processes on Pin
Dave Kreskowiak6-Dec-21 4:42
mveDave Kreskowiak6-Dec-21 4:42 
QuestionHow to get free "Active eCommerce Flutter App" Pin
Shahin it26-Jun-21 2:16
Shahin it26-Jun-21 2:16 
GeneralHow to get free source code Pin
Member 150787168-Aug-22 17:32
Member 150787168-Aug-22 17:32 
QuestionSMTP SERVER Pin
Omo.T Starboy19-Apr-21 11:23
Omo.T Starboy19-Apr-21 11:23 
AnswerRe: SMTP SERVER Pin
Richard Deeming19-Apr-21 20:53
mveRichard Deeming19-Apr-21 20:53 
GeneralRe: SMTP SERVER Pin
Member 150787168-Aug-22 17:42
Member 150787168-Aug-22 17:42 
GeneralRe: SMTP SERVER Pin
Jeremy Falcon2-Feb-23 6:28
professionalJeremy Falcon2-Feb-23 6:28 
GeneralRe: SMTP SERVER Pin
Jeremy Falcon2-Feb-23 6:31
professionalJeremy Falcon2-Feb-23 6:31 
QuestionEstou com problema ao hospedar o meu website Joomla no inmotionhosting Pin
Jeemy Ballin24-Mar-21 4:33
Jeemy Ballin24-Mar-21 4:33 
AnswerRe: Estou com problema ao hospedar o meu website Joomla no inmotionhosting Pin
CHill6024-Mar-21 4:34
mveCHill6024-Mar-21 4:34 
GeneralRe: Estou com problema ao hospedar o meu website Joomla no inmotionhosting Pin
Member 150787168-Aug-22 18:06
Member 150787168-Aug-22 18:06 
Questionam trying to add users to a database Pin
Member 150642613-Feb-21 21:44
Member 150642613-Feb-21 21:44 
the below is the code.

<!DOCTYPE html>
<html>
<head>
<title>My First PHP Website</title>
</head>
<body>
<h2>Registration Page</h2>
<a href="index.php">Click Here to go Back</a><br/><br/>

<form action="register.php" method="post">
Enter Username: <input type="text" name="username" required="required"/> <br/>
Enter Password: <input type="password" name="password" required="required"/><br/>
<input type="Submit" value="register"/>
</form>
</body>
</html>

<?php
if($_SERVER["REQUEST METHOD"] == "POST"){ //line 19
$username = mysql_real_escape_string($_POST['username']);
$password = mysql_real_escape_string($_POST['password']);

echo "Username entered is: ". $username . "<br />";
echo "Password entered is: ". $password;
}
?>



however the error i get on a browser is as below.

Warning: Undefined array key "REQUEST METHOD" in C:\xampp\htdocs\MyFirstWebsite\register.php on line 19
AnswerRe: am trying to add users to a database Pin
Richard Deeming3-Feb-21 21:48
mveRichard Deeming3-Feb-21 21:48 
GeneralRe: am trying to add users to a database Pin
hostguy17-Apr-21 2:56
hostguy17-Apr-21 2:56 
GeneralRe: am trying to add users to a database Pin
Richard Deeming18-Apr-21 22:37
mveRichard Deeming18-Apr-21 22:37 
AnswerRe: am trying to add users to a database Pin
Richard Deeming3-Feb-21 21:51
mveRichard Deeming3-Feb-21 21:51 
QuestionWindows service not working Pin
Member 1487786230-Jun-20 22:24
Member 1487786230-Jun-20 22:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.