This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

My idea

Old posts that have not been replied to for several years.
Locked
M
MuPPskI

My idea

Post by MuPPskI »

Hello

Is there any TCL script that lets me grab data from PHP Database ? SQL database or what you call it?

I would really like to have it
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Accessing information from PHP script, and/or SQL servers, is not as straight forwards as lobbing in a script.

SQL is a language in it's own right, and needs to be programmed to return the data you wish. This is based on the table name, and the column namesvalues and conditions sent.

There are a few MySQL libraries available for Tcl, and 1 module available for eggdrop. Search google for mysqltcl and yoou have one.

After compiling and getting it working, you need to program a Tcl that can send the commands, extract the information, expand/evaluate the details and then display them.

Again, this is based on what your database is storing, and how it is stored.
M
MuPPskI

Post by MuPPskI »

How about grabbing data from a MBD file ? (ASP )?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

That is different, and likely a tonn more work.

However, it feasable.

You can create a ASP script, that will act as the interface bvetween eggdrop and the DB. Eggdrop makes a http connection to the webserver, and requests the info from the script. The script does its job, and returns the data for eggdrop to parse and format.
M
MuPPskI

Post by MuPPskI »

Is there a script/module or something?
Locked