Hi All, I am trying to develop a script that would add/delete/modify the menus in the Flash (http://www.netsoc.ucd.ie/flash/) The file that is used to build the menu is "system.menu" located in the /usr/slocal/lib/flash/ directory. So far I have made few scripts that would take inputs from the user and add them into a database. I am stuck on the output part. The idea is to query database and sent the output of the query to the file system.menu I have attached my scripts and db file to this email. Any help would be highly appreciated. Thanks, Guru. |
-- phpMyAdmin SQL Dump -- version 2.6.3-pl1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Aug 06, 2005 at 01:09 PM -- Server version: 4.1.10 -- PHP Version: 4.3.9 -- -- Database: `nterm` -- -- -------------------------------------------------------- -- -- Table structure for table `customermenu` -- CREATE TABLE `customermenu` ( `customermenu` varchar(15) NOT NULL default '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `customermenu` -- INSERT INTO `customermenu` VALUES ('cust1'); INSERT INTO `customermenu` VALUES ('cust2'); INSERT INTO `customermenu` VALUES ('cust3'); -- -------------------------------------------------------- -- -- Table structure for table `devicemenu` -- CREATE TABLE `devicemenu` ( `ID` int(5) NOT NULL auto_increment, `nhid` varchar(15) NOT NULL default '', `mainmenu` varchar(15) NOT NULL default '', `customermenu` varchar(15) NOT NULL default '', `ipaddre` varchar(15) NOT NULL default '', `epass` varchar(30) NOT NULL default '', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `devicemenu` -- INSERT INTO `devicemenu` VALUES (2, 'NMMUMGURU', 'Servers', 'company', '4.2.2.2', 'lol'); -- -------------------------------------------------------- -- -- Table structure for table `mainmenu` -- CREATE TABLE `mainmenu` ( `mainmenu` varchar(15) NOT NULL default '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `mainmenu` -- INSERT INTO `mainmenu` VALUES ('Firewalls'); INSERT INTO `mainmenu` VALUES ('Core Devices'); INSERT INTO `mainmenu` VALUES ('Juni Devices'); INSERT INTO `mainmenu` VALUES ('Servers');
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php