Reply to discussion (solution)
Are you this PHP?
In addition, this code has an XSS attack vulnerability.
This can not be used directly in PHP, does not conform to PHP syntax
is not a 11-line else to capitalize else
It's best to post the wrong hints.
Are you this PHP?
In addition, this code has an XSS attack vulnerability.
Isn't the PHP code written like this? I am based on my previous write ASP changed, that is, under the DW warning can not be used, so ask
This can not be used directly in PHP, does not conform to PHP syntax
Can point out ah, ASP to PHP do not know whether this is written
is not a 11-line else to capitalize else
It's best to post the wrong hints.
DW is under the IF $_url= "then this line of warning
function ShowMsg ($_info,$_url) { If ($_url== "" ) { echo ""; } else{ If ($_info== "") header (' Location: '. $_url); else echo "";} }
function ShowMsg ($_info,$_url) { If ($_url== "" ) { echo ""; } else{ If ($_info== "") header (' Location: '. $_url); else echo "";} }
It turns out that there are so many errors, go back and look under, modify is the following look
function ShowMsg ($_info,$_url) { if ($_url== "") { echo ""; } else{ If ($_info== "") {header (' location: '. $_url);} Else{echo "";}} }
By the way, moderator, upstairs said that there are xxs loopholes??? What's the solution?
There's nothing wrong with that.