Re: funny unlink problem

From: Date: Wed, 30 Jan 2002 18:51:09 +0000
Subject: Re: funny unlink problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-82782@lists.php.net to get a copy of this message
I see 55jpg NOT 55.jpg --Tony On Wed, 2002-01-30 at 12:40, sundogcurt wrote: > unlink(); help!!!! > > the file I would like to delete (actual path) > /home/gruesome/public_html/nuved/clients/prestigemotors/images/55jpg > > path I am feeding to unlink function > /home/gruesome/public_html/nuved/clients/prestigemotors/images/55jpg > > error I get when I try to delete the file > Warning: Unlink failed (No such file or directory) in > /home/gruesome/public_html/nuved/includes/content/addvehicle.php on line > 315 > > relative path to file (from script containing the unlink function) > ../../clients/prestigemotors/images/55jpg > > I am copying the file with the same script ($folder = 'prestigemotors' > && $tempVID = '55') > $destination = '/home/gruesome/public_html/nuved/clients/' . $folder . > '/images/' . $tempVID . '.jpg'; > if(copy(stripslashes($ipath),$destination)) ... > > Mandrake / Apache / Frustration > > help? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Tony Bibbs | Life is a moderately good play tony@tonybibbs.com | with a bad 3rd act. 515.554.8046 |

« previous php.general (#82782) next »