AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   HTTP POST (https://forums.alliedmods.net/showthread.php?t=104902)

ZeeBOB 09-28-2009 19:02

HTTP POST
 
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 09-28-2009 20:17

Re: HTTP POST
 
wtf, how'd this post in AMX mod section.

Mod plz delete


All times are GMT -4. The time now is 22:31.

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