Jump to content

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


vani sri

Recommended Posts

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

Link to comment
Share on other sites

you cannot delete through http think about it if that were possible someone could go to say send a http delete to http://www.google.com and we would lose Google

you need to use file system paths they can be complete like c:/xampp/htdocs/xml_files/enq_paathshala.xml or relative like

xml_files/enq_paathshala.xml

if you were running a script in c:/xampp/htdocs/

but they must be file system paths

also i would strongly advise using full paths so you don't delete anything you want

 

Scott.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.