Hi,
I use the "template" class of PHPLIB and i have a problem:
$toprint = "The name of the file is {FILE}";
$file="C:\0\Images\img.gif"; (yes, the name of directory is "0"(zero))
The class use the "ereg_replace" function to parse and replace the variables(something like that):
echo ereg_replace("{FILE}", $file, $toprint);
produce at output:
The name of the file is C:
and i want "The name of the file is C:\0\Images\img.gif" (the directory named "0" is not printed)
Can somebody say tot me how to solve this?
Catalin