how to delete a file from server?

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
waseem83
Forum Commoner
Posts: 54
Joined: Tue Jun 23, 2009 3:51 am
Contact:

how to delete a file from server?

Post by waseem83 »

Can any body tell me how to delete or unlink a file from live server? As i have no permissions to delete a file from hosting server.
How can i do that ?
Thanks in advance
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: how to delete a file from server?

Post by Christopher »

If you don't have permission then you can (and shouldn't) delete the file.
(#10850)
waseem83
Forum Commoner
Posts: 54
Joined: Tue Jun 23, 2009 3:51 am
Contact:

Re: how to delete a file from server?

Post by waseem83 »

on local machine i can delete that file. But on live server my own server sir....i want to delete file as a test as i create so many files on run time and at same time i want to delete extra files.
what can i do?
User avatar
angelicodin
Forum Commoner
Posts: 81
Joined: Fri Nov 13, 2009 3:17 am
Location: Oregon, USA

Re: how to delete a file from server?

Post by angelicodin »

Post Reply