Re: [PHP-DB] BLOB

2004-03-15 Thread JeRRy
From: "Ng Hwee Hwee" <[EMAIL PROTECTED]> To: "DBList" <[EMAIL PROTECTED]> Date: Mon, 15 Mar 2004 17:24:31 +0800 Subject: Re: [PHP-DB] BLOB hi all, Hi ;) with blob, i can't see the encoded password easily and thus there is 'maximum security'. haha.. but i'm still open to any form of sugg

Re: [PHP-DB] Scrollbar + javaScript

2004-03-15 Thread Nadim Attari
> Hello Nadim, > > This is entirely different from PHP and databases, so please pick the > right list for these kind of questions. The matter can be handled with > JavaScript (which is a client-side scripting language, while PHP and > databases are server side). > > Please use google and you will f

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

2004-03-15 Thread Paul Burney
on 2004/03/15 15:39, Larry Sandwick at [EMAIL PROTECTED] made the following allegation: > Here is the error I get when I use the include below: > > include "MainMenu.php"; > > Fatal error: Cannot redeclare class db in > /tmp/disk/home/webmaster/Files/WWW/pearDB/DB.php on line 211 As someone els

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

2004-03-15 Thread Bruno Ferreira
Larry Sandwick wrote: Here is the error I get when I use the include below: include "MainMenu.php"; Fatal error: Cannot redeclare class db in /tmp/disk/home/webmaster/Files/WWW/pearDB/DB.php on line 211 // Larry Seems that MainMenu.php (or a file included by it) re-includes the DB.php fil

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

2004-03-15 Thread Larry Sandwick
Here is the error I get when I use the include below: include "MainMenu.php"; Fatal error: Cannot redeclare class db in /tmp/disk/home/webmaster/Files/WWW/pearDB/DB.php on line 211 // Larry -Original Message- From: Benjamin [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004

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

2004-03-15 Thread Ford, Mike [LSS]
On 14 March 2004 02:14, Benjamin wrote: > 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 parenthesi

Re: [PHP-DB] Scrollbar + javaScript

2004-03-15 Thread Filip de Waard
On Mar 15, 2004, at 11:20 AM, Nadim Attari wrote: Hello, This is much an HTML/javaScript problem (and not PHP). Your help is appreciated! Is there a way to know (e.g. through javaScript) whether scrollbar is active? Problem: I have a window in which there is a table. if there is much cont

Re: [PHP-DB] export queries to plain/text

2004-03-15 Thread Norma Ramirez - TECNOSOFT
What I need exactly is to send the outputs from queries made in the command line of postgresql to an plain text file, cvs or something like that, so the function suggested frwrite don't work for that case because it's from the command line. Than'ks Norma R -- PHP Database Mailing List (http://w

RE: [PHP-DB] PHP -> MSSQL connects, but can't query

2004-03-15 Thread Adam Voigt
Yes, I'm connecting to a MSSQL server from FreeTDS, and it works fine. Try using the IP of the MSSQL server instead of the name, and see if that makes any difference. On Mon, 2004-03-15 at 09:23, Jason Morrill wrote: > I changed the mssql_select_db line as suggested by another person here > but i

RE: [PHP-DB] PHP -> MSSQL connects, but can't query

2004-03-15 Thread Jason Morrill
I changed the mssql_select_db line as suggested by another person here but it didn't change a thing. I still get the exact same error message. Is there anyone else here connecting to a MS SQL server using TDS v8.0 ?? Thanks! Jason -Original Message- From: Jason Morrill [mailto:[EMAIL P

[PHP-DB] Scrollbar + javaScript

2004-03-15 Thread Nadim Attari
Hello, This is much an HTML/javaScript problem (and not PHP). Your help is appreciated! Is there a way to know (e.g. through javaScript) whether scrollbar is active? Problem: I have a window in which there is a table. if there is much contents, a vertical scrollbar appears; if little co

Re: [PHP-DB] BLOB

2004-03-15 Thread Jason Wong
On Monday 15 March 2004 17:24, Ng Hwee Hwee wrote: Use md5. > I can't use md5 because i want to retrieve it and send emails to my users > if they forgot their password.. If they forget their password shoot them. Or depending on how secure your application needs to be: - generate a new passwor

Re: [PHP-DB] BLOB

2004-03-15 Thread Ng Hwee Hwee
hi all, I can't use md5 because i want to retrieve it and send emails to my users if they forgot their password.. md5 is only a one way encryption, thus i have to resort to using encode('$password', '$salt') where $salt is a value that i have assigned.. because I know the value of $salt, I would

Re: [PHP-DB] BLOB

2004-03-15 Thread JeRRy
Hello, A BLOB is a binary large object that can hold a variable amount of data. The four BLOB types TINYBLOB, BLOB, MEDIUMBLOB, and LONGBLOB differ only in the maximum length of the values they can hold. The four TEXT types TINYTEXT, TEXT, MEDIUMTEXT, and LONGTEXT correspond to the four BLOB type