[Phplib-users] PHPLib with PHP 3.0.7
Brought to you by:
nhruby,
richardarcher
|
From: Benjamin S. <bsh...@cs...> - 2001-09-25 11:26:28
|
Hi-
My ISP has PHP 3.0.7 and all I'm using of PHPlib is template.inc.
However, that file uses a method that didn't exist until 3.0.9.
preg_quote();
the actual line is line 297 of template.inc (7.2d)
/* private: varname($varname)
* varname: name of a replacement variable to be protected.
*/
function varname($varname) {
return preg_quote("{".$varname."}");
}
is there a work around for this?
thanks,
Benjamin
|