Problem with unlink()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fluidbyte
Forum Commoner
Posts: 30
Joined: Tue May 27, 2008 2:07 pm

Problem with unlink()

Post by fluidbyte »

I am trying to delete a file. Not a difficult task, but no matter what I do I get the error message that the file does not exist. I can access the path /sandbox/cmscore/assets/file/large icons.jpg and it works fine, but when I plug it into unlink it just throws the damn error message. Any ideas?
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Problem with unlink()

Post by califdon »

So your filename has a space in it?
fluidbyte
Forum Commoner
Posts: 30
Joined: Tue May 27, 2008 2:07 pm

Re: Problem with unlink()

Post by fluidbyte »

yeah, probably the problem?
fluidbyte
Forum Commoner
Posts: 30
Joined: Tue May 27, 2008 2:07 pm

Re: Problem with unlink()

Post by fluidbyte »

nope, just tried one without a space, same issue...
Post Reply