Raised This Month: $ Target: $400
 0% 

amxx+php


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-20-2018 , 22:46   Re: amxx+php
Reply With Quote #2

You can use sockets to send either a GET or POST query to your web server (which is what it looks like you are already doing). You should be able to receive data from this query. It would require using RCON on the server to be able to have an event on the website send unsolicited data to the server.

I wrote a function a long time ago to send ban information to a webpage that I wrote using POST. I've attached it here for reference. It doesn't retrieve any data back from the server but I didn't need to for this application.
Attached Files
File Type: inc ban_to_web.inc (2.1 KB, 172 views)
__________________

Last edited by fysiks; 12-20-2018 at 23:10.
fysiks 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:31.


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