RE: [PHP-DB] CRiMson live demo and .tgz available

2003-05-27 Thread Daevid Vincent
Look in the reference directory. There is "INSTALL.txt" (change AuthMySQLDB 'crm' to 'crimson') and "CRM database.sql". Sorry I didn't reply. All the mail with "PHP" in the subject gets procmail filtered into there. > -Original Message- > From: Matthew Moldvan [mailto:[EMAIL PROTECTED]

[PHP-DB] PHP CLasses and DB Access

2003-05-27 Thread Jason McCormack
Hello All, I am new to working with classes and have created to classes. I have a session class which writes the sessions to a table and I have a login class which is used to determine if you can login or not or if a session currently exists. The issue I am running into is that I would like to

RE: [PHP-DB] Double Trouble!

2003-05-27 Thread Matthew Moldvan
That makes sense ... guess I shouldn't respond to questions so late at night and with any bit of alcohol. :P S.: did you find a workaround? Regards, Matt. x116 -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 2:47 AM To: Matthew Moldvan Cc: S.

Re: [PHP-DB] Modify php.ini setting in code

2003-05-27 Thread Paul Burney
on 05/27/2003 8:13 PM, Harlan Lax at [EMAIL PROTECTED] appended the following bits to my mbox: > I am using a ISP that provides php and mysql but doesn't allow me to edit > the php.ini. I cannot change the include path to point to a directory I > have access to. Is there a way to set ini setting

Re: [PHP-DB] Modify php.ini setting in code

2003-05-27 Thread George Patterson
On Tue, 27 May 2003 20:13:52 -0400 "Harlan Lax" <[EMAIL PROTECTED]> wrote: > I am using a ISP that provides php and mysql but doesn't allow me to > edit the php.ini. I cannot change the include path to point to a > directory I have access to. Is there a way to set ini setting in a > script ? >

Re: [PHP-DB] Member login

2003-05-27 Thread George Patterson
On Tue, 27 May 2003 14:15:58 -0400 "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote: > > Having a member login is just checking the password against the > > database > and > > starting a session for that person, right? > > Sure... might want to check the username, also. :) > > ---John Holmes... >

[PHP-DB] Modify php.ini setting in code

2003-05-27 Thread Harlan Lax
I am using a ISP that provides php and mysql but doesn't allow me to edit the php.ini. I cannot change the include path to point to a directory I have access to. Is there a way to set ini setting in a script ? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

[PHP-DB] PHP/MySQL and Linux

2003-05-27 Thread Chris Payne
Hi there everyone, Is it possible to control user access to directories on Linux via PHP and MySQL? I mean the basic authentication which pops up a username and password, is it possible that it gets this info from a database rather than from the standard Linux user scheme? (Phrasing may be wr

Re: [PHP-DB] Display TEXT field value

2003-05-27 Thread jeffrey_n_Dyke
if i'm understanding you correctly, you're looking for this??? nl2br() http://www.php.net/manual/en/function.nl2br.php "John M."

[PHP-DB] Display TEXT field value

2003-05-27 Thread John M.
Hello, I have a message box, where user can write more lines of comment. I store it in a mysql db in a TEXT field. But if I use echo command to display the value of the field I become the value without linebreaks. How can I display the value in the same style as input was? Thanks! Example: User

Re: [PHP-DB] Member login

2003-05-27 Thread CPT John W. Holmes
> Having a member login is just checking the password against the database and > starting a session for that person, right? Sure... might want to check the username, also. :) ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

[PHP-DB] Member login

2003-05-27 Thread Rick Dahl
Having a member login is just checking the password against the database and starting a session for that person, right? Rick _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid

RE: [PHP-DB] Supress MySQL error messages...

2003-05-27 Thread Hutchins, Richard
Matt, The only thing I could think of is that since it's the mysql function that you don't want to return the error, it's cleaner to put the @ right before the function call. That way it's crystal clear what's not supposed to return the error. And John was right, I incorrectly referred to the @ a

[PHP-DB]php-odbc-ctree

2003-05-27 Thread Gabriel Gramajo
Does anybody knows any kind of odbc for c-treeĀ“s databases in linux ? Thanks in advance, Gabriel. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Supress MySQL error messages...

2003-05-27 Thread Matthew Horn
> Ex. > $number = @mysql_num_rows($result_var); > > Having a bit of a brain cramp right now as I normally do not suppress > errors. My apologies if I'm wrong. The at sign works fine for suppressing error messages from mysql, but I usually have it at the beginning of the assignment, as in: @ $nu

Re: [PHP-DB] Supress MySQL error messages...

2003-05-27 Thread CPT John W. Holmes
> Does anyone know if it is possible to suppress MySQL error messages? > > For example > > > Warning: mysql_num_rows(): supplied argument is not a valid MySQL result > resource in /var/www/killerspin/public/preview_checkout.php on line 25 Stop using mysql functions on invalid result sets? > T

Re: [PHP-DB] [SPAM?] [PHP-DB] VERY URGENT

2003-05-27 Thread Mark
Actually, what I am referring to is that whenever one of the Nigerian scams comes through this list, someone's spam filter sends back an email indicating that Spamassasin has determined that it's SPAM. But I can't find any indication in the emails or headers that says where the "notice" is coming f