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
   Networked Database  Scripts Only! (Code Only)   [27 / 68] RSS
 From   To   Subject   Date/Time 
Message   Steve Winn    bigjoe11a   Mysql and Vscript   December 4, 2006
 9:03 PM  

Re: Mysql and Vscript

> Re: Mysql and Vscript
>
> > 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 shoul
> > you interface with MySQL using the commandline (including VScript if des
> > You can probably do this many other ways but I like PHP. Note: I have on
> > 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';
>
> Thanks steve. I all ready have it working in php. Like I told you before that
> I didn't want to databases for my bbslister. The mysql in php working real
> good. I'm real happy with it. Its just that I wanted to share the mysql
> database with telenet users as well. Or if you know of some thing else please
> let me know

I posted this because it is a way for you to access MySQL in a VADV script. You
use this to do your MySQL query and save the result to a file, then you use
VScript to read the file to get results.

Steve


--
[AT2k] -- Your VBBS/VADV Support Center -- [www.at2k.org] -- [bbs.at2k.org]
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Scripts Only! (Code Only)  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0169 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108