Re: [PHP] path to binary for php on linux

2004-04-08 Thread jdavis
On Wed, 2004-04-07 at 18:17, Andy B wrote: > it was installed with get > and which php doesnt do anything just returns to the prompt with no output > > - Original Message - > From: "Curt Zirzow" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, April 07, 2004 8:11 PM > Subj

[PHP] multiple constructor question

2004-04-08 Thread jdavis
Hello, I have looked around for information on using multiple constructors with OO PHP. I have found little, and from what I have seen I'm thinking that it's not supported. Is this true. I wrote the code below to try to emulate multiple constructors.. is this what everyone else does to try to ge

RE: [PHP] problems with md5()

2004-04-07 Thread jdavis
On Wed, 2004-04-07 at 22:59, Chris wrote: > The second, longer, one is the correct one. > > It looks like the column you've got the password stored in is too small, it > must be 32 characters long > > Chris > On Wed, 2004-04-07 at 22:57, Jason Wong wrote: >md5() returns a 32 character string s

[PHP] problems with md5()

2004-04-07 Thread jdavis
hello, I have a database containing usernames and md5 encrypted passwords. When i use md5() to encrypt a users password recived via a form to compare to the md5ed passwd in the database i get problems... for instance ... user foo has passwd 'pass' 'pass' md5ed in database is this 1a1dc91c9073

[PHP] simple mysql_result() question

2004-04-07 Thread jdavis
hello, I am trying to authenticate users. I run this MySQL query using vars provided via a form select password from dealers where username = '$user' this works great if $user is actually a user in the database. otherwise i get this error Warning: mysql_result(): Unable to jump to row 0

[PHP] PHP OO concepts

2004-04-07 Thread jdavis
Hello, I have am checking out PHP OOP and it's pretty smooth. I have a decent amount of Java experience so PHP OOP is really easy to pick up. However I have a few questions I was hoping someone could help me with. Can php have a main()? If not ... how to you start a program that is purley PHP

[PHP] problem with mail()

2004-03-25 Thread jdavis
hello, I have a php script that i have ran on a linux and bsd box, on both boxes the script will work and sendmail for a while, then it just seems to stop working. Does anyone have a idea why this is. thanks, -- jdavis

[PHP] test - ignore

2004-03-25 Thread jdavis
-- jdavis <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php