vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   c++ login system for vbulletin (https://vborg.vbsupport.ru/showthread.php?t=158666)

xRenegade85 09-24-2007 06:33 PM

c++ login system for vbulletin
 
Hi

I am trying to make a login system that works through a MFC/C++ app, it lets the user enter the username and password, and then it checks whether the usernameand pass were correct by submitting the info to my vb powered board.
My problem is that i dot know how to get the return info, i understand that all i have to do is "http://www.mysite.com/login.php?user=MyUsername?pass=MyPass"(something like this) but i dont know how to get the return type like whether the login was successful or not.

Could someone please help me?

Thanks in adv.

Paul M 09-24-2007 08:57 PM

You should really try and send the MD5 password, not the clear text password.

The system is not really designed to provided a verification service like you want, but I think if you POST the request and check the returned data from the server - then if you ignore the http contents and just check the cookie header - if the login was valid then two cookie values should be returned (userid and cookie password).

Dismounted 09-25-2007 05:24 AM

Or you could design your own verification file.

xRenegade85 09-25-2007 03:54 PM

ok well now i am trying to do the login like this:
http://mysite.com/login.php?do=login..._password=blah
but this doesnt do anything, do you know why?


All times are GMT. The time now is 05:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01208 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete