Raised This Month: $ Target: $400
 0% 

HTTP POST


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ZeeBOB
Junior Member
Join Date: Jul 2009
Old 09-28-2009 , 19:02   HTTP POST
Reply With Quote #1

Hi guys, i'm fairly new to SourcePawn. Can't really write it but I can read and understand it pretty clearly.

My goal is to do the same thing as the zBlock addon which can perform an HTTP POST with a players STEAM ID and recieve their real name, team etc.

The plugin must send an HTTP POST like this:

PHP Code:
http://yourauthhost.com/zblock.php?uid=0:1:337&game=0 
The authhost will then return the information as base64 encoded

PHP Code:
e.g.  base64_encode("Player: Bob"),base64_encode("Team: TeamBob"),base64_encode("League: Main"
How would I go about coding this in SourcePawn?
ZeeBOB 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 22:31.


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