[PHP] site root variable (for Generic Unix and Windows)

2001-03-19 Thread ben . 2 . edwards
I am developing a PHP site under windows which is going to be deployed eventually on Unix (indeed when life gets less hectic will also be developed under Unix but that's another story). Anyway the header.html (included at top of every page) has links in it. However depending where the page is whi

RE: [PHP] FileUpload problematic

2001-03-19 Thread ben . 2 . edwards
Would copy( $file, "somewhare/$file" ) be more platform independent? -- [EMAIL PROTECTED] (ben@work untill end March) [EMAIL PROTECTED] (ben@home) > -Original Message- > From: Chris Lee [SMTP:[EMAIL PROTECTED]] > Sent: Monday, March 19, 2001 2:38 PM > To: [EMAIL PROTECTED] > Subject:

[PHP] General security Question (Databases)

2001-03-20 Thread ben . 2 . edwards
The examples of holding passwords in databases (i.e. mysql) tend to encrypt the password. Although this seems sensible (if not necessary) it douse mean that if a user forgets there password the normal solution is to generate a new random password and email it to them. Then I realised that this f