David
|
| Posted: 05/02/2002, 10:20 AM |
|
I follow the tutorial for uploading images with PHPTemplates&MySQL but when I try to delete records, I setup in events/beforedelete:
$pathparts = pathinfo(getenv("PATH_TRANSLATED"));
if ($fldURLFOTO) {
$tmpfile = $pathparts[dirname]."\PRODS\". $fldURLFOTO;
if (file_exists($tmpfile)) {
unlink($tmpfile);
}
}
and return the following error:
Fatal error: Call to undefined function: pathinfo() in c:\nusphere\apache/htdocs/products/productsModifRecord.php on line 223
Can somebody help me?
Thanks
|
|
|
 |
CodeCharge Support
|
| Posted: 05/03/2002, 4:17 AM |
|
Hello,
pathinfo() is a PHP function which needs PHP 4.0.3 or greater. Check your installation and see if it supports this function.
|
|
|
 |
|