Raised This Month: $ Target: $400
 0% 

Getting certain IP adress


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GhostMan
Senior Member
Join Date: Jun 2012
Old 09-29-2012 , 15:28   Re: Getting certain IP adress
Reply With Quote #1

I'm not really familiar with tasks, should it look like that when i'm removing it?

PHP Code:
    if(task_exists(id))
    {
        
remove_task(id)
    } 
GhostMan is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-29-2012 , 15:33   Re: Getting certain IP adress
Reply With Quote #2

Quote:
Originally Posted by GhostMan View Post
I'm not really familiar with tasks, should it look like that when i'm removing it?

PHP Code:
    if(task_exists(id))
    {
        
remove_task(id)
    } 
If you don't know the inner workings of remove_task() then yes, but technically, you don't need to check if the task exists before executing remove_task().
__________________
fysiks is offline
Reply



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 18:49.


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