vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   [Question] Remote Verification System (https://vborg.vbsupport.ru/showthread.php?t=257399)

DarkstaR69 01-19-2011 03:21 AM

[Question] Remote Verification System
 
First of all, I would like to emphasize that I'm not asking for handsouts or code, as much as I'm looking for a point in the right direction. I'm a phenomenal programmer but I'm new to VBulletin (at not so experienced in PHP either), so some starting pointers of how to accomplish this would be nice.

I want to, essentially, make a remote verification system for one of my software programs which is linked to the my forum. The program will send a POST with username, password, and a hardware key. The post would look similar to this:

myforum.domain/misc.php?do=verify&name=UserName&password=Password &hwlock=HardwareID

My question to the more experienced users of this software are as follows:
  1. What kind of "hook" would I use to add my "do=verify" to misc.php, and how would I go about doing it?
  2. How do I create tables in the database? (I have found tutorials on accessing data in it, just not creating tales. I'm no SQL jockey)
  3. Does the database class used automatically sanitize my data before putting it into the SQL command? (I would assume so but its better safe than sorry)
  4. How might I go about meshing all of this together?

--------------- Added [DATE]1295471404[/DATE] at [TIME]1295471404[/TIME] ---------------

Hopefully its not wrong to bump this since its been 24 hours, but I need some help here!

Just got home from school so I will be looking at different mods to see if I can figure it out, but if anyone knows please help me.


All times are GMT. The time now is 10: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.01073 seconds
  • Memory Usage 1,707KB
  • 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
  • (1)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