我用下面的從我接觸的形式清理輸入: <?php
$name = strip_tags(stripslashes($_POST['name']));
//this is repeated for several other fields, then:
if(isInjected($name)) { die(); }
/* see isInjected function below */
唯一的PHP頁面,我的代碼看到的是index.php文件,所以我用備份和日常我把它改爲替換它: Parse error: syntax error, unexpected '<' in /nfs/c05/h02/mnt/73056/domains/essinteractive.com/html/index.php on line 93
我在刪除該網站的過程中,重新安裝Joomla及其所有插件。
我是新來的IOC容器,我開始使用NInject。 ,如果你希望你的構造函數有沒有服務,並不需要由IOC容器進行實例化參數,你會怎麼做? 例如: public class Person
{
private readonly string _name;
private readonly IPersonRepository _repository;
public Per