linuxha-misc Mailing List for Linux Home Automation (Page 5)
Status: Beta
Brought to you by:
ncherry
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
(126) |
Apr
(24) |
May
(11) |
Jun
(104) |
Jul
(19) |
Aug
(53) |
Sep
(18) |
Oct
(62) |
Nov
(79) |
Dec
(19) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(1) |
Feb
(4) |
Mar
(4) |
Apr
(8) |
May
(23) |
Jun
(14) |
Jul
(1) |
Aug
|
Sep
(4) |
Oct
(2) |
Nov
(9) |
Dec
(14) |
2002 |
Jan
(8) |
Feb
(3) |
Mar
(17) |
Apr
(2) |
May
(16) |
Jun
(6) |
Jul
(2) |
Aug
(10) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
From: Neil C. <nc...@ho...> - 2001-06-24 14:35:26
|
I;ve restarted playing with MAD's xalib (0.47) and I've gotten everything to compile and I've restored service to my downed HA server. Now I'm tring to get the programs to communicate with the Ocelot. Does anyone on the list have the xalib working? Whenever I try the standalone code or the server it just hangs (even when I put the server in daemon mode). I'll investigate a bit more but I was hoping that someone would be able to give me a quick answer. -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Neil C. <nc...@ho...> - 2001-06-20 13:17:23
|
Ok, I feel pretty stupid right now, with all my testing of different config options I neglected to remove the cache file. So no matter what I did it would never change. I now get jpegs! Now I'm going to build the static version also. Thanks everyone. -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Mike B. <mi...@ba...> - 2001-06-19 13:16:58
|
I can't imagine it matters, but I don't think the -with-jpeg is necessary if you have the -with-jpeg-dir. If possible, rerun the command and send the output from configure (its kinda big so postin git to the list may not be a good thing - you can send it to me I'd be happy to check it out) I've not messed with gd support in php specifically, but sometimes configure will tell you something is missing but go ahead and make the Make files anyway. Also, with 4.0.4 the TTF option is: --enable-gd-imgstrttf Enable TrueType string function in gd Did it change in 4.0.5? Mike Neil Cherry wrote: > Jay Hogg wrote: > >>Neil, >> >>What Mike was looking for (I think) is the command line that lists >>all the --with --without, libs, directories, etc. >> >>Some other things to look at since it is giving you 'undefined >>function' problems: >>- phpinfo() will list what is/is not available. >>- php_functions.h (.c?) has the entry points for all the /ext/... >>php libraries. On some systems with a broken shell/sed there are >>problems in this file and not everything is handled correctly. >>- there are prerequisites for some modules and they won't work >>unless all parts are there. I believe 'gd' has a lot of them >>since I also pulled in pdflib and spent the next 8 hours tracking >>down all the other pieces. >> > > ./configure \ > --with-apxs=/usr/sbin/apxs \ > --with-openssl=shared \ > --enable-libgcc \ > --enable-bcmath \ > --enable-calendar \ > --enable-ctype \ > --enable-ftp \ > --with-gd=/usr7/projects/php.tmp/gd-1.8.4 \ > --with-jpeg \ > --with-jpeg-dir=/usr7/projects/php.tmp/gd-1.8.4 \ > --with-xpm-dir=/usr7/projects/php.tmp/gd-1.8.4 \ > --with-png-dir=/usr7/projects/php.tmp/gd-1.8.4 \ > --enable-gd-native-ttf \ > --with-mysql \ > --enable-sysvsem \ > --enable-sysvshm \ > --with-zlib=shared \ > --enable-shared \ > --enable-inline-optimization \ > --with-gnu-ld > > I'll get phpinfo later, I need to clean it up so it doesn't come out a > real mess. > > |
From: Neil C. <nc...@ho...> - 2001-06-19 13:00:12
|
Jay Hogg wrote: > > Neil, > > What Mike was looking for (I think) is the command line that lists > all the --with --without, libs, directories, etc. > > Some other things to look at since it is giving you 'undefined > function' problems: > - phpinfo() will list what is/is not available. > - php_functions.h (.c?) has the entry points for all the /ext/... > php libraries. On some systems with a broken shell/sed there are > problems in this file and not everything is handled correctly. > - there are prerequisites for some modules and they won't work > unless all parts are there. I believe 'gd' has a lot of them > since I also pulled in pdflib and spent the next 8 hours tracking > down all the other pieces. ./configure \ --with-apxs=/usr/sbin/apxs \ --with-openssl=shared \ --enable-libgcc \ --enable-bcmath \ --enable-calendar \ --enable-ctype \ --enable-ftp \ --with-gd=/usr7/projects/php.tmp/gd-1.8.4 \ --with-jpeg \ --with-jpeg-dir=/usr7/projects/php.tmp/gd-1.8.4 \ --with-xpm-dir=/usr7/projects/php.tmp/gd-1.8.4 \ --with-png-dir=/usr7/projects/php.tmp/gd-1.8.4 \ --enable-gd-native-ttf \ --with-mysql \ --enable-sysvsem \ --enable-sysvshm \ --with-zlib=shared \ --enable-shared \ --enable-inline-optimization \ --with-gnu-ld I'll get phpinfo later, I need to clean it up so it doesn't come out a real mess. -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Jay H. <jay...@2i...> - 2001-06-19 06:25:43
|
Neil, What Mike was looking for (I think) is the command line that lists all the --with --without, libs, directories, etc. Some other things to look at since it is giving you 'undefined function' problems: - phpinfo() will list what is/is not available. - php_functions.h (.c?) has the entry points for all the /ext/... php libraries. On some systems with a broken shell/sed there are problems in this file and not everything is handled correctly. - there are prerequisites for some modules and they won't work unless all parts are there. I believe 'gd' has a lot of them since I also pulled in pdflib and spent the next 8 hours tracking down all the other pieces. Glad to see your liking PHP as a language. Good luck, Jay At 04:25 PM 6/18/01 -0400, you wrote: >Mike Baptiste wrote: > > > > WHat build command did you use to build php? (You can see it in teh > > output frmo phpinfo(); What version of gd is installed on your system? > >Ooops, sorry forgot to add that it's gd-1.8.4 > >-- >Linux Home Automation Neil Cherry nc...@ho... >http://members.home.net/ncherry (Text only) >http://meltingpot.fortunecity.com/lightsey/52 (Graphics) >http://linuxha.sourceforge.net/ (SourceForge) > >_______________________________________________ >http://lists.sourceforge.net/lists/listinfo/linuxha-misc >To unsubscribe, send "unsubscribe Linuxha-misc" >in the body of a message to Lin...@li... |
From: Neil C. <nc...@ho...> - 2001-06-18 20:19:20
|
Mike Baptiste wrote: > > WHat build command did you use to build php? (You can see it in teh > output frmo phpinfo(); What version of gd is installed on your system? Ooops, sorry forgot to add that it's gd-1.8.4 -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Neil C. <nc...@ho...> - 2001-06-18 19:15:19
|
Mike Baptiste wrote: > > WHat build command did you use to build php? (You can see it in teh > output frmo phpinfo(); What version of gd is installed on your system? > > Mike > > Neil Cherry wrote: > > > Anyone know how to get 4.0.5 to compile as a command line program? Or > > how to get it to compile to accept ImagePNG or ImageJPG functions? This > > is driving me crazy! I've got MySQL working but I can't get the Imagexxx > > function calls to work (in either the CGI/CLI version or the dynamic > > loadable module). I just get a complaint that there is no such function > > (at least I got rid of the ImageCreate complaints). It was php 4.0.2 (I save the static command) and I'm building 4.0.5. I just got the static version of php 4.0.5 to compile and install but it doesn't recognize the ImageXXX yet. One step closer. -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Mike B. <mi...@ba...> - 2001-06-18 18:50:56
|
WHat build command did you use to build php? (You can see it in teh output frmo phpinfo(); What version of gd is installed on your system? Mike Neil Cherry wrote: > Anyone know how to get 4.0.5 to compile as a command line program? Or > how to get it to compile to accept ImagePNG or ImageJPG functions? This > is driving me crazy! I've got MySQL working but I can't get the Imagexxx > function calls to work (in either the CGI/CLI version or the dynamic > loadable module). I just get a complaint that there is no such function > (at least I got rid of the ImageCreate complaints). > > |
From: Neil C. <nc...@ho...> - 2001-06-18 18:34:50
|
Anyone know how to get 4.0.5 to compile as a command line program? Or how to get it to compile to accept ImagePNG or ImageJPG functions? This is driving me crazy! I've got MySQL working but I can't get the Imagexxx function calls to work (in either the CGI/CLI version or the dynamic loadable module). I just get a complaint that there is no such function (at least I got rid of the ImageCreate complaints). -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Neil C. <nc...@ho...> - 2001-05-31 02:58:06
|
Sorry I forgot the links: http://members.home.net/ncherry/common/lhap_I/lhap.html http://members.home.net/ncherry/common/lhap_II/lhap.html lhap_I is the previous version that only works with IE and NS 4.x. lhap_II is supposed to work with NS 4.x - Mozilla (maybe NS 3.x) and IE. The colors are adjustable in the LHAP.css file (take a peek and you'll see what I mean). -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Neil C. <nc...@ho...> - 2001-05-31 02:51:55
|
Dan Rich wrote: > > On Sun, 27 May 2001, Neil Cherry wrote: > > > Does anyone know how to popup a window (like an alert box) but this window > > would have check boxes, a text box and maybe a few other things. I need it > > so I can issue special X10 commands. I don't want this info cluttering up > > the main window. Once the commands have been entered (and checked) the > > popup would call the main page (from which the popup was originally called). > > > > I wouldn't mind using Javascript but would like to avoid Java (download > > times). > > You're going to have to go with javascript to popup a window. Take a look > at the theatre site I maintain at www.sunnyvaleplayers.org. The first > time you go there (in fact, the first three times) it will pop up a > "please join us" box. There's no reason that couldn't be a form instead > of a test box with a link. > > Javascript will also allow you to name the window so you can update just > that window when you need to. Argh! I hate those windows when they're adverts! BTW, the popup isn't really a window in this case more of a tooltip. -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Neil C. <nc...@ho...> - 2001-05-31 02:35:48
|
Well good news, I've discovered cascading style sheets (that made a few tricks easier such as changing the link colors to contrast the background changes). I've got the MySQL access working (null user entries deleted). I've started playing with the class over libraries (I have to hack them to hell but it should allow smaller d/l's). And I've got them working for both NS 4.x and NS 6.x Next I'll try to get my hands on IE. Since I also have command line php I'll generate a static page and post it to my site(s). Warning it's big! Also the response box is not there because we didn't issue a command. Any comments? -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Dan R. <dr...@em...> - 2001-05-29 19:34:21
|
On Sun, 27 May 2001, Neil Cherry wrote: > Does anyone know how to popup a window (like an alert box) but this window > would have check boxes, a text box and maybe a few other things. I need it > so I can issue special X10 commands. I don't want this info cluttering up > the main window. Once the commands have been entered (and checked) the > popup would call the main page (from which the popup was originally called). > > I wouldn't mind using Javascript but would like to avoid Java (download > times). You're going to have to go with javascript to popup a window. Take a look at the theatre site I maintain at www.sunnyvaleplayers.org. The first time you go there (in fact, the first three times) it will pop up a "please join us" box. There's no reason that couldn't be a form instead of a test box with a link. Javascript will also allow you to name the window so you can update just that window when you need to. -- Dan Rich <dr...@em...> | http://www.employees.org/~drich/ | "Danger, you haven't seen the last of me!" | "No, but the first of you turns my stomach!" | -- The Firesign Theatre's Nick Danger |
From: Cherry, N. J, N. <nc...@at...> - 2001-05-29 16:25:31
|
Hmm, this is weird, I sent out a message last night (well I thought I did) with my fix. I doubt anyone would be able to have guess what the problem was. It turns out that my user table in the mysql database had 2 null users (probably from my months of trying to figure out mysql). One of the list members sent me instructions on using REPLACE and while playing with that I discovered the null entries. Now all the other users I've added are working. Hmm, I wonder if my response only went out to him ... Anyway I've learned a whole lot more about mysql, I've got the JavaScript working with NS 4.x, I'm about to play with classover (supports IE & NS & Mozilla). I'm writing up a Readme and I'll be adding better error checking to the code. Thanks to everyone for the info. Then it will be time to work on the HCS & Ocelot versions. This will probably require a bit more coding on the daemons and then I need to work on a HomeDaemon program. Lastly, if I get the chance, I may work on a Java version that may require less data being sent (the final html page is 56KB in size, way too big for anything but a LAN or DSL/Cable connection). --- Neil Cherry |
From: Mike B. <mi...@ba...> - 2001-05-29 14:13:14
|
Neil, MySQL grants access in various ways, by user, database, table, even field, and host. Most folks use User, Host, and DB restrictions. First, you have to have a user in table user of DB mysql. To test it, try 'mysql -u(userid) -p(password)' and see if you get in. Once you've done that, you need to ensure the DB you are trying to access allows access from localhost or whatever host you are comign from (see table hosts) Most MySQL installs will allow access to all DBs from localhost (not very secure) Finally, check the DB table to see if users can access the given DB - this is not always necessary since you can often use User & Host permissions, etc. A great tool for handling this (and tons of other LInux admin tasks) is Webmin - I highly recommend it (www.webmin.com I think) Its a browser based admin tool - even supports SSL connections and has modules for just about anything. Also, if you want a cool tool to maintain, view MySQL data, check out phpMyAdmin (http://www.phpwizard.net/projects/phpMyAdmin/) Awesome php tool for accessign MySQL DBs - I use it to maintain the dozen or so I have going here. As for setting up access - I generally setup a user with a hashed password (PASSWORD('the password here') when using an SQL UPDATE) and NO permissions. Setup the host perms to allow access from teh hosts you need (usually just localhost) Then in teh DB access table, grant the perms needed for hte given user. Mike Neil Cherry wrote: > I have access to the database working (almost!). I can access the database > via mysql if I'm 'root'. Of course this is bad and I've tried adding the > user X10 and LHAP but when I attempt to login both fail. Any ideas as to > how to get this to work with the new users. BTW, I've granted the user LHAP > access to the database for select only. > > |
From: Jonas D. <jon...@ax...> - 2001-05-29 12:24:07
|
Have you: 1) Added the user/host/password to to the user table of the mysql database? Set the password correctly (Password=password('LHAP')) ? 2) Issued a 'FLUSH priviliges' or a 'mysqladmin reload' brgds Jonas > -----Original Message----- > From: Neil Cherry [mailto:nc...@ho...] > Sent: den 29 maj 2001 05:01 > To: lin...@li... > Subject: Re: [LHA-misc] mysql question ... > > > Andy Worthington wrote: > > > > How exactly are you accessing it and what is the message it > is giving back. > > Remember this is PHP: > > $XHost = "diane"; > $XPort = 1128; // Too bad we can't use its > names instead > > $dbuser = 'LHAP'; // > $dbhost = 'localhost'; // > $dbpass = 'LHAP'; // Please use a better one than > the default! > $dbname = 'X10'; // > $dbtable = 'device'; // > > //------ DATABASE CONNECTION --------// > $mysql_link = mysql_connect($dbhost, $dbuser, $dbpass); > // Line 97 > $column = mysql_list_fields($dbname, $dbtable, $mysql_link); > $sql = "SELECT * FROM $dbtable;"; > $result = mysql_db_query($dbname, $sql); > > > Warning MySQL Connection failed: Access denied for user > 'LHAP@localhost' > (Using password YES) in /.../lhap.php on line 97 > > BTW: I have the db access working now, as soon as I figure out the > user issue I'll post everything. It's slow but not too bad. > > -- > Linux Home Automation Neil Cherry > nc...@ho... > http://members.home.net/ncherry (Text only) > http://meltingpot.fortunecity.com/lightsey/52 (Graphics) > http://linuxha.sourceforge.net/ > (SourceForge) > > _______________________________________________ > http://lists.sourceforge.net/lists/listinfo/linuxha-misc > To unsubscribe, send "unsubscribe Linuxha-misc" > in the body of a message to > Lin...@li... > |
From: Lloyd F. <llo...@us...> - 2001-05-29 05:35:34
|
This is one of the better articles I have seen on setting up and using mySQL: http://www.linux-mag.com/2001-03/mysql_01.html At 08:56 PM 5/28/01 -0400, you wrote: >I have access to the database working (almost!). I can access the database >via mysql if I'm 'root'. Of course this is bad and I've tried adding the >user X10 and LHAP but when I attempt to login both fail. Any ideas as to >how to get this to work with the new users. BTW, I've granted the user LHAP >access to the database for select only. > >-- >Linux Home Automation Neil Cherry nc...@ho... >http://members.home.net/ncherry (Text only) >http://meltingpot.fortunecity.com/lightsey/52 (Graphics) >http://linuxha.sourceforge.net/ (SourceForge) > >_______________________________________________ >http://lists.sourceforge.net/lists/listinfo/linuxha-misc >To unsubscribe, send "unsubscribe Linuxha-misc" >in the body of a message to Lin...@li... > > > > Lloyd Ferguson llo...@us... |
From: Neil C. <nc...@ho...> - 2001-05-29 02:54:52
|
Andy Worthington wrote: > > How exactly are you accessing it and what is the message it is giving back. Remember this is PHP: $XHost = "diane"; $XPort = 1128; // Too bad we can't use its names instead $dbuser = 'LHAP'; // $dbhost = 'localhost'; // $dbpass = 'LHAP'; // Please use a better one than the default! $dbname = 'X10'; // $dbtable = 'device'; // //------ DATABASE CONNECTION --------// $mysql_link = mysql_connect($dbhost, $dbuser, $dbpass); // Line 97 $column = mysql_list_fields($dbname, $dbtable, $mysql_link); $sql = "SELECT * FROM $dbtable;"; $result = mysql_db_query($dbname, $sql); Warning MySQL Connection failed: Access denied for user 'LHAP@localhost' (Using password YES) in /.../lhap.php on line 97 BTW: I have the db access working now, as soon as I figure out the user issue I'll post everything. It's slow but not too bad. -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Andy W. <chr...@ou...> - 2001-05-29 01:34:06
|
How exactly are you accessing it and what is the message it is giving back. Andy Worthington ----- Original Message ----- From: "Neil Cherry" <nc...@ho...> To: "LHA-misc" <Lin...@li...> Sent: Monday, May 28, 2001 7:56 PM Subject: [LHA-misc] mysql question ... > I have access to the database working (almost!). I can access the database > via mysql if I'm 'root'. Of course this is bad and I've tried adding the > user X10 and LHAP but when I attempt to login both fail. Any ideas as to > how to get this to work with the new users. BTW, I've granted the user LHAP > access to the database for select only. > > -- > Linux Home Automation Neil Cherry nc...@ho... > http://members.home.net/ncherry (Text only) > http://meltingpot.fortunecity.com/lightsey/52 (Graphics) > http://linuxha.sourceforge.net/ (SourceForge) > > _______________________________________________ > http://lists.sourceforge.net/lists/listinfo/linuxha-misc > To unsubscribe, send "unsubscribe Linuxha-misc" > in the body of a message to Lin...@li... |
From: Neil C. <nc...@ho...> - 2001-05-29 00:50:38
|
I have access to the database working (almost!). I can access the database via mysql if I'm 'root'. Of course this is bad and I've tried adding the user X10 and LHAP but when I attempt to login both fail. Any ideas as to how to get this to work with the new users. BTW, I've granted the user LHAP access to the database for select only. -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Neil C. <nc...@ho...> - 2001-05-28 12:56:10
|
I've posted my code (mainly for comment) to my webpage. I have no readme so please remember to add a bin directory and add a link to HomeDaemon-dump in there. I'm sorry for the colors (they're hideous!) but I was playing. I also just found the ClassOver lib which works for NS 6.x and Mozilla (which I like to use). -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Neil C. <nc...@ho...> - 2001-05-28 00:57:22
|
OK later tonight I'll post the lhap_web.php and it's associated files. It's in no way ready for prime time but it will give people an idea of what I'm trying to do. For those of you who don't have php I'll enclose lhap_web.html which is the output from php (I have a shell version, it's great for building static pages). I'll attempt to create enough info to allow the user to run run it. So far I have the tool tips popups working but now need a database to access (I have MySQL). I have the php table generator working, I have HomeDaemon-dump working and I have X10d working. I still need to work on security and the advanced() javascript command. I also have to find some good books on PHP and JavaScript. I have the WROX Professional PHP Apps but it's OK. Any recommendations? -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Ben S. <be...@bu...> - 2001-05-27 05:32:28
|
Hi Neil, If you need checkboxes and text boxes, I don't know of an alternative to opening a new (smaller) browser window. You could then use a standard form and some javascript to kill the window when the input is submitted. Cheers, Ben Neil Cherry wrote: > > Does anyone know how to popup a window (like an alert box) but this window > would have check boxes, a text box and maybe a few other things. I need it > so I can issue special X10 commands. I don't want this info cluttering up > the main window. Once the commands have been entered (and checked) the > popup would call the main page (from which the popup was originally called). > > I wouldn't mind using Javascript but would like to avoid Java (download > times). > > I could call a new window and have it load a javascript but I'd like to > avoid that too (not as severe d/l times but I prefer not). > > -- > Linux Home Automation Neil Cherry nc...@ho... > http://members.home.net/ncherry (Text only) > http://meltingpot.fortunecity.com/lightsey/52 (Graphics) > http://linuxha.sourceforge.net/ (SourceForge) > > _______________________________________________ > http://lists.sourceforge.net/lists/listinfo/linuxha-misc > To unsubscribe, send "unsubscribe Linuxha-misc" > in the body of a message to Lin...@li... -- _____________________________________________________________ Ben Stringer Burbong Consultants P/L ACN 092 664 198 be...@bu... http://www.burbong.com ph 0402 211 638 |
From: Neil C. <nc...@ho...> - 2001-05-27 05:12:26
|
Does anyone know how to popup a window (like an alert box) but this window would have check boxes, a text box and maybe a few other things. I need it so I can issue special X10 commands. I don't want this info cluttering up the main window. Once the commands have been entered (and checked) the popup would call the main page (from which the popup was originally called). I wouldn't mind using Javascript but would like to avoid Java (download times). I could call a new window and have it load a javascript but I'd like to avoid that too (not as severe d/l times but I prefer not). -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |
From: Andy W. <chr...@ou...> - 2001-05-26 18:08:06
|
> I like PHP for this type of thing. One real advantage that modPerl has is > the DBI abstraction. PHP uses specific coding for each database, so supporting > multiple databases would complicate the PHP code more than it would complicate > Perl. There are several to many php libraries that implement database abstraction for you. The one that I use is phplib that includes session management (phplib is used mostly in php3.x when there was no built in session support, but still works for php4.x), user authentication/permissions and database abstraction. I have been using php for between 2 -3 years and have found it to work great for all my web application projects. Andy Worthington |