View Single Post
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 02-04-2010 , 09:10   Re: [TUT] How to post on Twitter from CS
Reply With Quote #3

Quote:
Originally Posted by 01101101 View Post

Why are you messing so much with this?

PHP Code:
        formatex(requestcharsmax(request), "POST %s%s HTTP/1.1^n"g_urltmp)
        
formatex(request2charsmax(request2), "%sHost: %s^nAccept-Encoding: none^n"requestg_host)
        
formatex(requestcharsmax(request), "%sAuthorization: Basic %s^n"request2encoded)
        
formatex(request2charsmax(request2), "%sConnection: Close^n^n"request)
        
socket_send(socketrequest2charsmax(request2)) 
If you could use a single formatex?
Or, 2 formats could also be posible, since you can rewrite them.
Because I'm crazy and I like clean code.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito