Raised This Month: $ Target: $400
 0% 

deleting file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hyphen
Senior Member
Join Date: Aug 2011
Old 06-22-2012 , 13:17   deleting file
Reply With Quote #1

Want to clear all banned file ie: listip.cfg & banned.cfg by one admin command. Tried with following code but didn't work.

PHP Code:
if(!cmd_access(idlevelcid1))
    return 
PLUGIN_HANDLED

new file fopen("listip.cfg""wt")
if(
file)
{
    
fwrite_blocks (file""1BLOCK_CHAR)
}
fclose(file
hyphen is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode