Re: [PHP-DB] How to redirect after a valid login

2004-03-13 Thread Benjamin
What kind of error does it give you? Because in the snippet you gave us you wrote > include "mainmenu.php"; // Which gives me an error ! And that should give you an error because it should be include( "mainmenu.php" ); //note parenthesies I have done what you want to do before like so if( $

Re: [PHP-DB] ldap_connect() version

2004-03-13 Thread santoso berkah
Dear Philip, You may try PHP ver 4.3.2, using your GNU/Linux operating system. Yau may choose your GNU/Linux distribution which used 2.4.18 kernel. If you try to search on its GNU/Linux CD, you may found php-ldap package. Happy GNU/Linux Hacking! See you... im_id --- Philip R Thompson <[EMA

[PHP-DB] export queries to plain/text

2004-03-13 Thread Norma Ramirez - TECNOSOFT
Hi all, does any one know how to export queries to plain/text files in postgresql? Thank's Norma R

FW: RE: [PHP-DB] MySQL Logging

2004-03-13 Thread Jai Jones
Thanks very much Richard. I planned to do that exact thing ;) but there is no log file on my server, logging must not be enabled. I read about the log switch you can pass while starting mysql, do I edit a script in rc.d or can this setting be set in my.cnf? Kind regards, JJ From: "Richard Bew

RE: [PHP-DB] MySQL Logging

2004-03-13 Thread Richard Bewley
Hi, You could do something like tail -n25 /var/log/mysqld.log | mail -s "Database Logs" [EMAIL PROTECTED], and run it in cron. For logging, if you want to log queries, you would use mysqld --log=/var/log/queries.log, but I'm not sure this is the type of logging you're looking for. What might be

[PHP-DB] MySQL Logging

2004-03-13 Thread Jai Jones
Hi, Sorry if this the wrong list, I am a little confused on how to get MySQL logging working, I am hoping some PHP users are doing something like this. I am backing up my MySQL data using a shell script and mysqldump. I would like to be able to send an email notification to myself to know that

[PHP-DB] Re: Inserting Data in Multiple Tables.. again

2004-03-13 Thread AJ Seelund
im working on the same sort of thing... ill reply to yours if i figure it out soon. you should be able to do it though. and i would guess that you should use three seperate queries. Craig Hoffman wrote: Here is the problem I am experiencing: I have a form that collects data and I would like

[PHP-DB] need to select one cell from one row in one table...?

2004-03-13 Thread AJ Seelund
ok, this might be difficult to explain, but this is what im trying to do... i have a table in my db call db_blog. in it i have an auto_increment column called entryNum. i use that strictly for order when i view the blog. i also have a column called comNum. each row in the table is an entry i