你想修改哪个文件来实现URI重写?一般对于虚拟珠玑,应该是通过修改你的.htaccess实现吧。
解决方案 »
- htaccess重定向怎么写?
- 半个月学习php
- php exec 命令在zend studio中调试运行成功,但是在系统apache2.2中失败
- 关于读取.txt文件中的数据
- phpinfo里没有mysql
- 请问这句是什么意思呢?
- 怎样不让PHP文件不保存在IE的临时文件夹里出现?
- 怎么把实时时间写入数据库
- 怎样用php实现?????
- php Fatal error: Call to undefined function imagecreate() in
- 请问:怎样在php上显示Linux根目录的所有目录!!
- 某段代码 放在其他php文件中没有任何waring和error 可是放在默认的文件index.php中就有waring
require "../class/Smarty.class.php";
$tpl = new Smarty();
$tpl->template_dir = __SITE_ROOT . "/templates/";
$tpl->compile_dir = __SITE_ROOT . "/templates_c/";
$tpl->config_dir = __SITE_ROOT . "/configs/";
$tpl->cache_dir = __SITE_ROOT . "/cache/";
$tpl->left_delimiter = '<{';
$tpl->right_delimiter = '}>';?>__SITE_ROOT这个如何用变量来自动探测当前网站物理路径呢?