Re: [PHP] Best authentication method for user

2006-04-02 Thread Ligaya Turmelle
For that i was thinking to use session and register his login and password as session variable. What do you think about that ? I personally would only hold a password for as long as it is needed to log them in. Then I'd set a session var that they have logged in and another session var f

Re: [PHP] return path of mail function

2006-04-02 Thread sub
The same as before: Return-path: <[EMAIL PROTECTED]> Envelope-to: [EMAIL PROTECTED] Delivery-date: Mon, 03 Apr 2006 00:35:34 -0500 Received: from nobody by amsterdam.servershost.net with local (Exim 4.52) id 1FQHiw-Kf-E4 for [EMAIL PROTECTED]; Mon, 03 Apr 2006 00:35:34 -0500 To: [EMAIL PROTE

Re: [PHP] return path of mail function

2006-04-02 Thread Chris
[EMAIL PROTECTED] wrote: Safe mode is indeed off and sendmail_from has "no value". I've modified the code as below: $return="test@test.com"; $orig_sendmail_from = ini_get('sendmail_from'); ini_set('sendmail_from', $return); $headers = "From: Test \r\n" . "Reply-To: Test \r\n"; $sub="Test s

Re: [PHP] Best authentication method for user

2006-04-02 Thread Chris
Alain Roger wrote: IN fact, i would like to have 2 profiles. 1 as common user : everybody should use this profile, to browse website and execute common queries. 1 as poweruser : this profile will require a logon in some ssl webpage. it is use to update/administrate database. for sure, peop

Re: [PHP] return path of mail function

2006-04-02 Thread sub
Safe mode is indeed off and sendmail_from has "no value". I've modified the code as below: $return="test@test.com"; $orig_sendmail_from = ini_get('sendmail_from'); ini_set('sendmail_from', $return); $headers = "From: Test \r\n" . "Reply-To: Test \r\n"; $sub="Test sub"; $msg="Test msg"; $to="

Re: [PHP] Best authentication method for user

2006-04-02 Thread Alain Roger
IN fact, i would like to have 2 profiles. 1 as common user : everybody should use this profile, to browse website and execute common queries. 1 as poweruser : this profile will require a logon in some ssl webpage. it is use to update/administrate database. for sure, people with poweruser profile

Re: [PHP] Best authentication method for user

2006-04-02 Thread Chris
Alain Roger wrote: Hi, I would like to use a secure way how my user is authenticated. For that i was thinking to use session and register his login and password as session variable. Like that, when he will need to execute a query he will not have to type again everything but application will do

[PHP] Best authentication method for user

2006-04-02 Thread Alain Roger
Hi, I would like to use a secure way how my user is authenticated. For that i was thinking to use session and register his login and password as session variable. Like that, when he will need to execute a query he will not have to type again everything but application will do it alone. What do y

Re: [PHP] Looping information into a table

2006-04-02 Thread Chris
benifactor wrote: i am creating a forum and i am having trouble getting the database information in to an html table i believe it has somthing to do with the placement of the while loops because they repeat the segment of code over untill the statment returns false, thus adding extra html.. y

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Joe Wollard
el-oh-el. See, I forgot already. Good lookin' out Matt! On 4/2/06, Matt Richards <[EMAIL PROTECTED]> wrote: > > oops forgot the first .. oh well! :( > > Matt Richards wrote: > > quote: > > Joe Wollard wrote: > > Just as long as everyone knows that everything I said was all in > > good fun. > >

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Matt Richards
oops forgot the first .. oh well! :( Matt Richards wrote: quote: Joe Wollard wrote: Just as long as everyone knows that everything I said was all in good fun. Next time I'll be sure to use just to be sure nothing is taken the wrong way ;-) Joe Wollard wrote: Just as long as everyone kn

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Matt Richards
quote: Joe Wollard wrote: Just as long as everyone knows that everything I said was all in good fun. Next time I'll be sure to use just to be sure nothing is taken the wrong way ;-) Joe Wollard wrote: Just as long as everyone knows that everything I said was all in good fun. Next time I'

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Joe Wollard
Just as long as everyone knows that everything I said was all in good fun. Next time I'll be sure to use just to be sure nothing is taken the wrong way ;-) On 4/2/06, Chris Shiflett <[EMAIL PROTECTED]> wrote: > > Joe Wollard wrote: > > I made fun of Chris and Rasmus specifically because I > > kno

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Chris Shiflett
Joe Wollard wrote: I made fun of Chris and Rasmus specifically because I know they're on this list. I appreciate being considered important enough to make fun of. Thanks! :-) Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] return path of mail function

2006-04-02 Thread Chris
Andrew Darrow wrote: I'm having a problem setting the return-path using the mail function. I seem to be able to modify any of the other header information I want, but not this one item. Here's my code: $headers = "Return-Path: Test \r\n" . "From: Test \r\n" . "Reply-To: Test \r\n"; $sub

[PHP] return path of mail function

2006-04-02 Thread Andrew Darrow
I'm having a problem setting the return-path using the mail function. I seem to be able to modify any of the other header information I want, but not this one item. Here's my code: $headers = "Return-Path: Test \r\n" . "From: Test \r\n" . "Reply-To: Test \r\n"; $sub="Test sub"; $msg="Te

Re: [PHP] microsoft PHP ?

2006-04-02 Thread tedd
At 5:00 PM +0200 4/2/06, Zouari Fourat wrote: the best april joke i got :) It wasn't a joke. M$ has one thing on their mind, and that is $. If their bottom line isn't improved by whatever they produce, then they drop it. If it hurts thousands of developers who supported their product in pro

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Zouari Fourat
the best april joke i got :) On 4/2/06, tedd <[EMAIL PROTECTED]> wrote: > At 4:20 PM -0500 4/1/06, Joe Wollard wrote: > >Leave poor Zouari alone! I for one think that Microsoft buying Zend would be > >the best thing to happen to PHP, EVAR! > > You might not think that way if you had been developin

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Miles Thompson
At 11:38 AM 4/2/2006, tedd wrote: At 4:20 PM -0500 4/1/06, Joe Wollard wrote: Leave poor Zouari alone! I for one think that Microsoft buying Zend would be the best thing to happen to PHP, EVAR! You might not think that way if you had been developing in M$ QuickBASIC for the Mac. One day M$ j

Re: [PHP] microsoft PHP ?

2006-04-02 Thread tedd
At 4:20 PM -0500 4/1/06, Joe Wollard wrote: Leave poor Zouari alone! I for one think that Microsoft buying Zend would be the best thing to happen to PHP, EVAR! You might not think that way if you had been developing in M$ QuickBASIC for the Mac. One day M$ just said "Nope, the line isn't maki

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Kevin Waterson
This one time, at band camp, Matt Richards <[EMAIL PROTECTED]> wrote: > Zouari Fourat: lol, bet you feel silly now :) Of course, the real give away in the original article on www.phpro.org was the MS CEO "Al Porfoli" is an anagram of April Fool Kevin -- "Democracy is two wolves and a lamb vot