Click here to Skip to main content
15,501,351 members
Home / Discussions / Hosting and Servers
   

Hosting and Servers

 
GeneralHow to get free source code Pin
Member 150787168-Aug-22 18:32
MemberMember 150787168-Aug-22 18:32 
QuestionSMTP SERVER Pin
Omo.T Starboy19-Apr-21 12:23
MemberOmo.T Starboy19-Apr-21 12:23 
AnswerRe: SMTP SERVER Pin
Richard Deeming19-Apr-21 21:53
mveRichard Deeming19-Apr-21 21:53 
GeneralRe: SMTP SERVER Pin
Member 150787168-Aug-22 18:42
MemberMember 150787168-Aug-22 18:42 
QuestionEstou com problema ao hospedar o meu website Joomla no inmotionhosting Pin
Jeemy Ballin24-Mar-21 5:33
MemberJeemy Ballin24-Mar-21 5:33 
AnswerRe: Estou com problema ao hospedar o meu website Joomla no inmotionhosting Pin
CHill6024-Mar-21 5:34
mveCHill6024-Mar-21 5:34 
GeneralRe: Estou com problema ao hospedar o meu website Joomla no inmotionhosting Pin
Member 150787168-Aug-22 19:06
MemberMember 150787168-Aug-22 19:06 
Questionam trying to add users to a database Pin
Member 150642613-Feb-21 22:44
MemberMember 150642613-Feb-21 22: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 22:48
mveRichard Deeming3-Feb-21 22:48 
GeneralRe: am trying to add users to a database Pin
hostguy17-Apr-21 3:56
Memberhostguy17-Apr-21 3:56 
GeneralRe: am trying to add users to a database Pin
Richard Deeming18-Apr-21 23:37
mveRichard Deeming18-Apr-21 23:37 
AnswerRe: am trying to add users to a database Pin
Richard Deeming3-Feb-21 22:51
mveRichard Deeming3-Feb-21 22:51 
QuestionWindows service not working Pin
Member 1487786230-Jun-20 23:24
MemberMember 1487786230-Jun-20 23:24 
AnswerRe: Windows service not working Pin
Richard MacCutchan30-Jun-20 23:48
mveRichard MacCutchan30-Jun-20 23:48 
GeneralRe: Windows service not working Pin
Member 1487786230-Jun-20 23:59
MemberMember 1487786230-Jun-20 23:59 
GeneralRe: Windows service not working Pin
Richard MacCutchan1-Jul-20 0:03
mveRichard MacCutchan1-Jul-20 0:03 
AnswerRe: Windows service not working Pin
seotutorialszone4-Jul-20 11:44
Memberseotutorialszone4-Jul-20 11:44 
AnswerRe: Windows service not working Pin
william joe 202213-Jul-22 23:06
Memberwilliam joe 202213-Jul-22 23:06 
QuestionCan't receive email from redirected domain name Pin
pkfox16-May-20 7:56
professionalpkfox16-May-20 7:56 
AnswerRe: Can't receive email from redirected domain name Pin
Peter_in_278016-May-20 15:26
professionalPeter_in_278016-May-20 15:26 
GeneralRe: Can't receive email from redirected domain name Pin
pkfox16-May-20 23:10
professionalpkfox16-May-20 23:10 
AnswerRe: Can't receive email from redirected domain name Pin
Randor 17-May-20 0:51
professional Randor 17-May-20 0:51 
GeneralRe: Can't receive email from redirected domain name Pin
pkfox17-May-20 1:09
professionalpkfox17-May-20 1:09 
GeneralRe: Can't receive email from redirected domain name Pin
Randor 17-May-20 1:27
professional Randor 17-May-20 1:27 
GeneralRe: Can't receive email from redirected domain name Pin
Randor 17-May-20 2:01
professional Randor 17-May-20 2:01 

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.