AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to Scripts Only! (Code Only) <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
![]() |
Steve Winn | bigjoe11a | Mysql and Vscript |
December 4, 2006 6:37 PM |
||
Re: Mysql and Vscript > Can any one make a vscript that can access a mysql database. Instead of writing your script I did write a quick PHP script that should let you interface with MySQL using the commandline (including VScript if desired). You can probably do this many other ways but I like PHP. Note: I have only performed limited testing so it might work or might not. -- BEGIN SCRIPT (vadvmysql.php) -- <?php // Quick script to interface VADV with MySQL. // Usage: // php.exe -n -f vadvmysql.php <query> // Modify these variables. $DBNAME = 'database'; $DBUSER = 'username'; $DBPASS = 'password'; $MYSQL_HOST = 'localhost'; // Everything below should not be edited. @$SQL_CONNECTION = mysql_connect($MYSQL_HOST, $DBUSER, $DBPASS); if (!$SQL_CONNECTION) { die('Could not connect.' |
||||||
|
Previous Message | Next Message | Back to Scripts Only! (Code Only) <-- <--- | Return to Home Page |
![]() Execution Time: 0.0148 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2025 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |