CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 deleting related files

Print topic Send  topic

Author Message
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.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.