Raised This Month: $ Target: $400
 0% 

[sockets] login to site


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 06-27-2010 , 15:29   Re: [sockets] login to site
#1

But you're not sending your email/password in your 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
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 06-27-2010 , 15:46   Re: [sockets] login to site
#2

Quote:
Originally Posted by joropito View Post
But you're not sending your email/password in your code
PHP Code:
// i encode it
formatex(plaincharsmax(plain), "[email protected]:mypassword123"
encode64(plainencodedcharsmax(encoded)) 
             
            
//and then parse on this line
            
formatex(requestcharsmax(request), "%sAuthorization: Basic %s^n"request2encoded
Whats wrong with that?
Empowers is offline
Send a message via ICQ to Empowers
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 06-27-2010 , 15:52   Re: [sockets] login to site
#3

Quote:
Originally Posted by Empowers View Post
PHP Code:
// i encode it
formatex(plaincharsmax(plain), "[email protected]:mypassword123"
encode64(plainencodedcharsmax(encoded)) 
             
            
//and then parse on this line
            
formatex(requestcharsmax(request), "%sAuthorization: Basic %s^n"request2encoded
Whats wrong with that?
Right but in your example (first post) you show user/pass as parameters and not as http authorization challenge.
__________________

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
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 06-27-2010 , 15:55   Re: [sockets] login to site
#4

Quote:
Originally Posted by joropito View Post
Right but in your example (first post) you show user/pass as parameters and not as http authorization challenge.
ahh my English, can u give a little example how to do it correct please

Last edited by Empowers; 06-27-2010 at 16:03.
Empowers is offline
Send a message via ICQ to Empowers
Closed Thread



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 14:56.


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