Zepo. Posted March 2, 2008 Share Posted March 2, 2008 I want to integrate my register and login pages with vb's so when you register on my registration it also adds you to vb's and same with the logins. I cant seem to find any tutorials on this anywhere so i guess ill start here. Quote Link to comment Share on other sites More sharing options...
trq Posted March 2, 2008 Share Posted March 2, 2008 You just need to share the same database between your php application and your vb application. The two applications never need know the other even exists. Quote Link to comment Share on other sites More sharing options...
redarrow Posted March 2, 2008 Share Posted March 2, 2008 Quite simply - yes you can (well sort of), via the "ScriptControl" and Windows Script host. This basically allows you to execute scripts from within your VB app, be they JScript, VBScript, PHP, Python or whatever has been registered with WSH. For a hint, check this out. Basically you'd need a recent PHP 5 version plus the "Collection of PECL modules for PHP 5.0.5" ZIP that comes as an extra download - you need the "php5activescript.dll" in this. You'll need to run "regsvr32 php5activescript.dll" from the command line, once you got PHP installed correctly (php.ini config etc.), which will register PHP with WSH. This presentation will give you some hints: http://netevil.org/talks/PHP-and-COM-2005.pdf - scroll to the page starting IActiveScript - the next few pages from there. Otherwise this (first useful link from Google) tutorial seems to show executing VBScript from VB http://www.thescarms.com/VBasic/WshRegWait.asp - swap the VBScript for PHP and you're there ;-) (and you're on your own BTW) Quote Link to comment Share on other sites More sharing options...
Zepo. Posted March 2, 2008 Author Share Posted March 2, 2008 Ohh excuse me i was refering to vBulletin Forgot about visual basics sorry Quote Link to comment Share on other sites More sharing options...
redarrow Posted March 2, 2008 Share Posted March 2, 2008 this will tell u where u stand read it all. http://www.vbulletin.com/forum/showthread.php?t=171978 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.