Warning: unlink() [function.unlink]: http does not allow

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
vani sri
Forum Commoner
Posts: 28
Joined: Fri Apr 25, 2008 12:20 am

Warning: unlink() [function.unlink]: http does not allow

Post by vani sri »

Hi all,

I tried to delete the file using
I got the following error.
Warning: unlink() [function.unlink]: http does not allow unlinking
When i try to give path like,
c:/xampp/htdocs/xml_files/enq_paathshala.xml
,it means the file deleted.

But i want to delete using http(direct URL).

Pls any one help me.

Regards,
vani
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Warning: unlink() [function.unlink]: http does not allow

Post by requinix »

vani sri wrote:But i want to delete using http(direct URL).
You can't.

Why would you even want to?
User avatar
susrisha
Forum Contributor
Posts: 439
Joined: Thu Aug 07, 2008 11:43 pm
Location: Hyderabad India

Re: Warning: unlink() [function.unlink]: http does not allow

Post by susrisha »

http://in.php.net/unlink
perhaps you need to look at it again..
Post Reply