Re: [PHP] Simple login form with cookies

2009-07-07 Thread Carl Furst
These are great ideas. Another option would be to have the user choose a pin number and use either the literal pin or the encrypted pin as part of the salt. This way only when you change the pin do you need to change the password, which is probably what you would want anyway. Michael A. Peters

Re: [PHP] Simple login form with cookies

2009-07-07 Thread Michael A. Peters
Carl Furst wrote: I personally use the username and the salt. That way two users with identical passwords have different hashes. With large databases, many users will have the same password, there are some that are just commonly used. The hackers know what they are, and if they get your ha

Re: [PHP] Simple login form with cookies

2009-07-07 Thread Michael A. Peters
Carl Furst wrote: The basic model for password authentication is to use one way crypt routines. MySql has several, PHP also has them. The basic algorithm would be like this: 1) read the password from the form. 2) read the password from you datastore that matches the user name or session 3) encry

Re: Re: [PHP] Simple login form with cookies

2009-07-07 Thread Carl Furst
The basic model for password authentication is to use one way crypt routines. MySql has several, PHP also has them. The basic algorithm would be like this: 1) read the password from the form. 2) read the password from you datastore that matches the user name or session 3) encrypt the password on

Re: Re: [PHP] How to authnticate and use contents from ${HOME}

2009-07-07 Thread Carl Furst
PHP may not be the thing to do this.. because it sounds like you want the users to chroot to ${HOME} which php especially on a vhost does not do. If you want users to access an nfs or ftp I would use either samba or vsftp or some other scp/ftp software. Jan G.B. wrote: > 2009/7/6 Isaac Dover >

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Daniel Brown
On Tue, Jul 7, 2009 at 17:46, Jeff Weinberger wrote: > > One question - that I for some reason have not found - is there a list of > the numerical values of the E_* constants somewhere? You bet: http://php.net/manual/en/errorfunc.constants.php -- daniel.br...@parasane.net || danbr...@php.ne

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Jeff Weinberger
On Jul 7, 2009, at 12:30 PM, Tom Worster wrote: On 7/7/09 12:17 PM, "Jeff Weinberger" wrote: On Jul 7, 2009, at 8:38 AM, Daniel Brown wrote: On Tue, Jul 7, 2009 at 11:03, Jeff Weinberger wrote: This seemed like it would be the perfect solution...but alas it did not work. 22527 seems right

Re: [PHP] PHP Manual in PDF format

2009-07-07 Thread James Colannino
Richard Quadling wrote: > $ pecl install haru > [...] > $ phd -f pdf -t phppdf -d .manual.xml I installed haru, yet when I try the phd command, I get a "class 'HaruDoc' not found" error :( Has this happened to anyone else? James -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Tom Worster
On 7/7/09 12:17 PM, "Jeff Weinberger" wrote: > On Jul 7, 2009, at 8:38 AM, Daniel Brown wrote: > >> On Tue, Jul 7, 2009 at 11:03, Jeff >> Weinberger wrote: >>> >>> This seemed like it would be the perfect solution...but alas it did >>> not >>> work. 22527 seems right, but after changing php.ini

Re: [PHP] How to authnticate and use contents from ${HOME}

2009-07-07 Thread Jan G.B.
2009/7/6 Isaac Dover > Hi Chantale, as Bastien mentioned, a preconfigured package might be the > best > way to go. Wikipedia has more information: > > http://en.wikipedia.org/wiki/List_of_LAMP_Packages > > What are you wanting to build in your interface? > > - Isaac > > On Mon, Jul 6, 2009 at 9:

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Tom Worster
On 7/7/09 11:38 AM, "Daniel Brown" wrote: > On Tue, Jul 7, 2009 at 11:03, Jeff Weinberger wrote: >> >> This seemed like it would be the perfect solution...but alas it did not >> work. 22527 seems right, but after changing php.ini to that and restarting >> php and apache, I am still getting "Depr

Re: [PHP] Browser Alert

2009-07-07 Thread Jan G.B.
2009/7/4 tedd > > So, if you're having problems with Safari 4.0 on Mac OSX uploading files, > you're not alone. > s/uploading files// ;) To make this posting useful: The thing might be related to this Bug http://www.webmasterworld.com/macintosh_webmaster/3300569.htm But, since you did post o

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Jeff Weinberger
On Jul 7, 2009, at 8:38 AM, Daniel Brown wrote: On Tue, Jul 7, 2009 at 11:03, Jeff Weinberger wrote: This seemed like it would be the perfect solution...but alas it did not work. 22527 seems right, but after changing php.ini to that and restarting php and apache, I am still getting "Depr

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Daniel Brown
On Tue, Jul 7, 2009 at 11:03, Jeff Weinberger wrote: > > This seemed like it would be the perfect solution...but alas it did not > work. 22527 seems right, but after changing php.ini to that and restarting > php and apache, I am still getting "Deprecated..." messages. Dumb question, Jeff: are

Re: [PHP] Simple login form with cookies

2009-07-07 Thread PJ
PJ wrote: > Jason Carson wrote: > >>> On Mon, Jul 6, 2009 at 02:19, Jason Carson wrote: >>> >>> ok, I have two sets of scripts here. One uses setcookie() for logging into the admin panel and the other uses session_start(). Both are working fine, is one more s

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Jeff Weinberger
On Jul 7, 2009, at 5:50 AM, Richard Quadling wrote: 2009/7/6 Jeff Weinberger : Hi: I am hoping someone can help me figure this out I've just upgraded my PHP installation to 5.3.0. Now I am receiving thousands of log messages of the form "PHP Deprecated: ...". I know I have a number of sc

Re: [PHP] Advise on starting a web store site

2009-07-07 Thread tedd
At 1:15 PM +0100 7/6/09, Matthew Croud wrote: Hi, I'm going to start my first e commerce website for a small web shoe store. I think I know enough PHP to keep my head above water, I'm using an add on shopping cart package to deal with the transactions. My question is, what's the best way to d

Re: [PHP] PHP Manual in PDF format

2009-07-07 Thread Richard Quadling
2009/7/7 Angus Mann : > Hi all. I realize this question has been asked before and I've found > responses in the archive, but none of the links work now, or the files they > point to are old or unsuitable. > > I'd like to print the most recent PHP manual to paper, so I need it in a > format that'

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Richard Quadling
2009/7/6 Jeff Weinberger : > Hi: > > I am hoping someone can help me figure this out > > I've just upgraded my PHP installation to 5.3.0. Now I am receiving > thousands of log messages of the form "PHP Deprecated: ...". > > I know I have a number of scripts that use now-deprecated functions, et

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Tom Worster
On 7/7/09 1:23 AM, "Jeff Weinberger" wrote: > On Jul 6, 2009, at 7:47 PM, Paul M Foster wrote: > >> On Mon, Jul 06, 2009 at 02:16:09PM -0700, Jeff Weinberger wrote: >> >>> Hi: >>> >>> I am hoping someone can help me figure this out >>> >>> I've just upgraded my PHP installation to 5.3.0.

[PHP] PHP Manual in PDF format

2009-07-07 Thread Angus Mann
Hi all. I realize this question has been asked before and I've found responses in the archive, but none of the links work now, or the files they point to are old or unsuitable. I'd like to print the most recent PHP manual to paper, so I need it in a format that's suitable. I've downloaded it fr

Re: [PHP] Re: Call to object function, want to PHP interpret returned string

2009-07-07 Thread John Allsopp
Stuart wrote: 2009/7/6 John Allsopp : David Robley wrote: John Allsopp wrote: Hi At the top of a webpage I have: getTop("my company title"); ?> to deliver the first lines of HTML, everything in HEAD and the first bits of page furniture (menu, etc). In the furniture object