The forum operates in read-only mode.
Please head to StackOverflow for support.
Here's a crude example of PHP pulling links from a db and inserting them as <href>s. the meat is the one (ugly) file phpSQL.php. That's how hard it is. CREATE a table called tblLinks, with linkID as autoincrement and linkURL as varchar. Then try the plugin. doen't do anything really, just proof of concept or whatever. More examples, however lame, help i guess. Oh, it's expecting MSsql for the DBMS. =-/http://www.unm.edu/~valliant/FCKeditor/phpSQL.zipHappy Trails!
Well, here' show it goes. After I made my statement about the DB connector (I assume you're talking about the file browser connector... if you want meerly to insert links from a db, check out the crappy example I whipped up for PHP. It's similar to ASP enough you should be able to bang your way through the logic. If not, lemme know and I'll pretty it up and make a ASP example of it as well.) last week I did some poking around in the default file browser. As there is no framework for authentication, or movement or deletion of files, I was stymied(sp?). The expanded PHP connector has a good bit of stuff (good job folks) already 'framed' out. Thus the dilemma. Risk diverging from the core code, or have limited functions that will need to be re-coded later. I'm opting for just banging out a DB powered 'extended' version PHP filebrowser/connector. I don't mind mixing languages ( I suck equally at all of them so if someone wants to update the ASP/whatnot parts of the extended filebrowser, I'll DBize them ass well. Or, if there is a framework FredCK is close on, and would like to have 'mirrored' DB-wise, I'll make a 'standards' compliant one. =-)People should really be carefull with allowing uploads to their servers, period. Scary crap. I like the converting stuff to base64/etc, but people will figure out how to get around anything. That being so, I am gonna work on a DB filebrowser version of the 'extended' PHP browser/connector. Maybe with a twist or two of my own... choose between thumbnails and detail view... hrm... What fun! Just in spare time unfortunatly, so don't expect stuff the way FredCK et al does it. All super fast and multi-addressing... I'm in awe! Comments welcome...