Click here to Skip to main content
15,847,077 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
QuestionUtilize webhook using PHP Webhook Listener Pin
Jassim Rahma18-Apr-19 6:04
Jassim Rahma18-Apr-19 6:04 
QuestionHaving Trouble moving my Wordpress site offline using MAMP Pin
Davstr15-Apr-19 9:02
Davstr15-Apr-19 9:02 
QuestionConvert the sql query into linq Pin
Member 1246113211-Apr-19 23:52
Member 1246113211-Apr-19 23:52 
AnswerRe: Convert the sql query into linq Pin
Richard MacCutchan12-Apr-19 0:05
mveRichard MacCutchan12-Apr-19 0:05 
Questionwhat is the error : SQL syntax; check the manual that corresponds to your MariaDB server version? Pin
Amir karim3-Apr-19 21:47
Amir karim3-Apr-19 21:47 
AnswerRe: what is the error : SQL syntax; check the manual that corresponds to your MariaDB server version? Pin
Peter_in_27803-Apr-19 22:02
professionalPeter_in_27803-Apr-19 22:02 
GeneralRe: what is the error : SQL syntax; check the manual that corresponds to your MariaDB server version? Pin
Amir karim3-Apr-19 22:24
Amir karim3-Apr-19 22:24 
GeneralRe: what is the error : SQL syntax; check the manual that corresponds to your MariaDB server version? Pin
Richard Deeming3-Apr-19 23:28
mveRichard Deeming3-Apr-19 23:28 
Amir karim wrote:
i correct that mistake

Amir karim wrote:
$query .= " `Email` = '$email' , " ;

Are you sure? You've still got that trailing "," in the query, which is not valid.

You've also still got the SQL Injection vulnerability:
Everything you wanted to know about SQL injection (but were afraid to ask) | Troy Hunt[^]
How can I explain SQL injection without technical jargon? | Information Security Stack Exchange[^]
PHP: SQL Injection - Manual[^]

And you're also storing passwords in plain text, which is absolutely the wrong thing to do:
Secure Password Authentication Explained Simply[^]
Salted Password Hashing - Doing it Right[^]

Use PHP's built-in methods to handle your passwords properly:
PHP: password_hash[^]
PHP: password_verify[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

QuestionStored procedure is needed Pin
Member 1246113225-Mar-19 5:02
Member 1246113225-Mar-19 5:02 
AnswerRe: Stored procedure is needed Pin
Richard MacCutchan25-Mar-19 6:40
mveRichard MacCutchan25-Mar-19 6:40 
QuestionHow to call php divisions by a button click Pin
Member 1417791010-Mar-19 23:54
Member 1417791010-Mar-19 23:54 
QuestionDEVELOPING WEB FORM Pin
Member 1402329817-Oct-18 6:40
Member 1402329817-Oct-18 6:40 
AnswerRe: DEVELOPING WEB FORM Pin
Mycroft Holmes17-Oct-18 13:43
professionalMycroft Holmes17-Oct-18 13:43 
QuestionWhy my field returns boolean instead of object? Pin
Member 1399562824-Sep-18 4:12
Member 1399562824-Sep-18 4:12 
AnswerRe: Why my field returns boolean instead of object? Pin
Graham Breach24-Sep-18 4:48
Graham Breach24-Sep-18 4:48 
GeneralRe: Why my field returns boolean instead of object? Pin
Member 1399562824-Sep-18 4:50
Member 1399562824-Sep-18 4:50 
GeneralRe: Why my field returns boolean instead of object? Pin
Graham Breach24-Sep-18 5:57
Graham Breach24-Sep-18 5:57 
AnswerRe: Why my field returns boolean instead of object? Pin
SiFinances28-Oct-18 1:52
SiFinances28-Oct-18 1:52 
Questionhow to find daily cash book record from two tables with php mysql Pin
Faruk Web10-Aug-18 22:46
Faruk Web10-Aug-18 22:46 
QuestionGet data attribute from an array of select box Pin
Member 85505912-Aug-18 17:23
Member 85505912-Aug-18 17:23 
QuestionHow to allow access to a yii web application for specific users using .htaccess Pin
Member 139352712-Aug-18 0:20
Member 139352712-Aug-18 0:20 
AnswerRe: How to allow access to a yii web application for specific users using .htaccess Pin
Richard MacCutchan2-Aug-18 1:40
mveRichard MacCutchan2-Aug-18 1:40 
AnswerRe: How to allow access to a yii web application for specific users using .htaccess Pin
Richard MacCutchan2-Aug-18 2:31
mveRichard MacCutchan2-Aug-18 2:31 
GeneralRe: How to allow access to a yii web application for specific users using .htaccess Pin
Member 139352712-Aug-18 2:35
Member 139352712-Aug-18 2:35 
GeneralRe: How to allow access to a yii web application for specific users using .htaccess Pin
Richard MacCutchan2-Aug-18 4:49
mveRichard MacCutchan2-Aug-18 4:49 

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.