url Slug php和htaccess重写问题

时间:2015-09-23 07:52:26

标签: php .htaccess slug

我试图创建一个slug从主页跳转到<?php error_reporting(E_ALL); //error handler function function customError ($errno, $errstr) { if (error_reporting() == 0) { return; } $timelog = date("d-m-Y h:i:s", time()); throw new Exception($timelog . ':' . $errstr, $errno); } //set error handler set_error_handler("customError", E_ALL & ~E_NOTICE); //trigger error try { $error = 5/0; } catch(Exception $e) { echo "Error caught : " . $e->getMessage(); } ?> ,标题为slug。

我的htaccess代码应该是什么? 这是我的PHP链接:

View Deal

0 个答案:

没有答案
相关问题