嗨我收到这个错误
已弃用:函数 ereg_replace() 在第 10 行的 /home/hj016/public_html/SSTW/index.php 中已弃用
下面是代码
// Determine which page ID to use in our query below ---------------------------------------------------------------------------------------
if (!isset($_GET['pid'])) {
$pageid = '1';
} else {
$pageid = ereg_replace("[^0-9]", "", $_GET['pid']); // filter everything but numbers for security
}