Raised This Month: $ Target: $400
 0% 

Sockets does not send data to php file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 05-22-2014 , 04:14   Re: Sockets does not send data to php file
Reply With Quote #7

solved
not read socket when I opened it in plugin_cfg()
I moved to the plugin_init() and works

I have the next problem, code:

PHP Code:
public Message(id) {
    new 
reason[64], sData[256];
    
read_args(reason63);
    
remove_quotes(reason);
    
trim(reason);
    
ucfirst(reason);

    
formatex(sData255"GET /%s?name=%s&authid=%s&ip=%s&server=%s&reason=%s HTTP/1.1^nHost:%s^r^n^r^n", \
    
FILEnick[id], sid[id], ip[id], ServerreasonHOST);
    
socket_send(socketsDatastrlen(sData));

I have this function under the command /send, I type a reason, but that reason does not send

Last edited by OnePL; 05-22-2014 at 05:10.
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
 



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 09:39.


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