Raised This Month: $ Target: $400
 0% 

Read XML files


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-24-2012 , 10:36   Re: Read XML files
Reply With Quote #9

PHP Code:
public task_waitanswer(id

    
// It changed? 
    
if (socket_change(g_Socket)) 
    { 
        
// Get the data 
        
socket_recv(g_Socketg_Data999)  
        
socket_close(g_Socket
        
        
// Remove the header from the data
        
new pos contain(g_Data"^r^n^r^n")
        if(
pos 0) {
                
format(g_Data999g_Data[pos 2])
        }
             
            
// Remove the tasks 
            
remove_task(TASKID_GETANSWER
            
remove_task(TASKID_CLOSECONNECTION
        
client_print(id,print_chat,g_Data)
    } 

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 04-24-2012 at 10:36.
Exolent[jNr] is offline
 



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 07:41.


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