php-windows Digest 4 Feb 2003 15:15:40 -0000 Issue 1572
Topics (messages 18344 through 18354):
Re: PHP .Net and a boat load of questions !!!
18344 by: pingywon MCSE
18345 by: pingywon MCSE
18347 by: Nick H. -- Technical Support Engineer
18348 by: Nick H. -- Technical Support Engineer
sos !!!!
18346 by: toby z
Difficult String/number fomatation plz hlp!
18349 by: Bobo Wieland
Re: script not allowing login after generating new password
18350 by: Uttam
18351 by: toby z
18353 by: Svensson, B.A.T. (HKG)
18354 by: Beach, Jim
sos part 2 ! ! ! !
18352 by: toby z
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
thank you very much for your contribution, but as I had said before im new
to PHP all together and do not fully understand your step 4
"4. Once the setup is done, go into your IIS Server Manager and drop down
to the website that you wish to install PHP for. Set it up as you would
under a IIS5 server (Application Configuration, ISAPI Mappings) and setup
the php.exe to run the .php files. (You can do the same for .phps if you
wish.)"
could someone please explain this step by step as Im not familiar with the
steps .....again thank you for your time ...
--
~pingywon MCSE
_____________________________________
MCP, MCSA, MCSE Certification Forums.
The Information Exchange.
http://pingywon.mine.nu
http://www.pingywon.ibforums.com
"Nick H. -- Technical Support Engineer" <[EMAIL PROTECTED]> wrote in
message 001401c2cbce$a9afafc0$0402a8c0@nh2">news:001401c2cbce$a9afafc0$0402a8c0@nh2...
> Here's a step-by-step howto on configuring IIS6.0 to work with CGI PHP
>
>
> http://www.rtfmnewbie.com/php-iis6.txt
>
> I'll post an article on how to configure ISAPI within a couple of days.
>
>
> Regards,
> Nick H.
> [EMAIL PROTECTED]
>
>
> ----- Original Message -----
> From: "pingywon MCSE" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 03, 2003 3:34 PM
> Subject: [PHP-WIN] Re: PHP .Net and a boat load of questions !!!
>
>
> : Well Iam at work right now and wont have time to play with this stuff
till
> : about Weds..
> :
> : I thank you both for your for all your help..... to clear things up a
> little
> :
> : with the Win3kServer issue ...yes I am running IIS 6 which will ship
with
> : Server 2003. I didn't expect the "avg" person to be able to answer this
> : question as they really don't know how much IIS6 differs from IIS5
(you'll
> : find out soon..and I hate it already) but I had happened to see a post
> about
> : someone getting it to run in Win3k Server and that's why I had asked...I
> : followed up on his post and his instructions but to no avail....if I
> : understood him correctly and followed his directions it did nothing more
> : then gave me a "security error" and yes im accessing it through HTTP and
> not
> : the local file system
> :
> : again I thank you for all your time.... !!!
> :
> : --
> :
> : ~pingywon MCSE
> : _____________________________________
> :
> : MCP, MCSA, MCSE Certification Forums.
> :
> : The Information Exchange.
> :
> : http://pingywon.mine.nu
> :
> : http://www.pingywon.ibforums.com
> :
> :
> : "Pingywon McSe" <[EMAIL PROTECTED]> wrote in message
> : [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> : > Hello all first and foremost let me just thank anyone who responds to
> this
> : > post..this group appears rather helpful (Im new here) Im also new to
php
> : > (Big surprise ? )
> : >
> : > anyway heres the scoop:
> : >
> : > Im beginning work on a "testing engine" type thing...heh
> : >
> : > pretty much the form will open up ask you a question with 3 to 5 radio
> : > buttons, you'll choose your answer then hit the submit..and it will
> return
> : > your answer weither it was correct or not and why ...... here is where
> the
> : > questions begin.....I'll just list em out
> : >
> : > 1) Cant get the PHP visible on the net (under win Server 2003) added a
> : > service extension "php" and pointed it to my c:\php\php.exe all I get
it
> a
> : > security error. any ideas there ?
> : > 2) When making the radio buttons and testing them it doesn't stop me
> from
> : > picking more then one button (in other words it will let me pick all 5
> and
> : > have them all selected at the same time ) how do I stop this ?
> : > 3) Im assuming I will need to have an "answer" type php file so that
the
> : > page can return the results......will I have to have a different file
> for
> : > EACH QUESTION!??!? as each question will be different ..
> : >
> : > ......This is beginning to look alot harder then I first imagined it
> would
> : > 4) if im not tracking any of the user info....do I need a SQL db ???
> : >
> : > ANY HELP IS MUCH APPRECIATED !!!!!
> : >
> : > --
> : >
> : > ~pingywon MCSE
> : > _____________________________________
> : >
> : > MCP, MCSA, MCSE Certification Forums.
> : >
> : > The Information Exchange.
> : >
> : > http://pingywon.mine.nu
> : >
> : > http://www.pingywon.ibforums.com
> : >
> : >
> :
> :
> :
> : --
> : PHP Windows Mailing List (http://www.php.net/)
> : To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
this is the error I get ....
"Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-chi-redirect enabled. This means
that a page will only be served up if the REDIRECT_STATUS CGI variable is
set, a.go. via an Apache Action directive.
For more information as to why this behavior exists, see the manual page for
CGI security.
For more information about changing this behavior or re-enabling this web,
consult the installation file that came with this distribution, or visit the
manual page."
--
~pingywon MCSE
_____________________________________
MCP, MCSA, MCSE Certification Forums.
The Information Exchange.
http://pingywon.mine.nu
http://www.pingywon.ibforums.com
"Pingywon McSe" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> thank you very much for your contribution, but as I had said before im new
> to PHP all together and do not fully understand your step 4
>
> "4. Once the setup is done, go into your IIS Server Manager and drop down
> to the website that you wish to install PHP for. Set it up as you would
> under a IIS5 server (Application Configuration, ISAPI Mappings) and setup
> the php.exe to run the .php files. (You can do the same for .phps if you
> wish.)"
>
> could someone please explain this step by step as Im not familiar with the
> steps .....again thank you for your time ...
>
>
> --
>
> ~pingywon MCSE
> _____________________________________
>
> MCP, MCSA, MCSE Certification Forums.
>
> The Information Exchange.
>
> http://pingywon.mine.nu
>
> http://www.pingywon.ibforums.com
> "Nick H. -- Technical Support Engineer" <[EMAIL PROTECTED]> wrote in
> message 001401c2cbce$a9afafc0$0402a8c0@nh2">news:001401c2cbce$a9afafc0$0402a8c0@nh2...
> > Here's a step-by-step howto on configuring IIS6.0 to work with CGI PHP
> >
> >
> > http://www.rtfmnewbie.com/php-iis6.txt
> >
> > I'll post an article on how to configure ISAPI within a couple of days.
> >
> >
> > Regards,
> > Nick H.
> > [EMAIL PROTECTED]
> >
> >
> > ----- Original Message -----
> > From: "pingywon MCSE" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, February 03, 2003 3:34 PM
> > Subject: [PHP-WIN] Re: PHP .Net and a boat load of questions !!!
> >
> >
> > : Well Iam at work right now and wont have time to play with this stuff
> till
> > : about Weds..
> > :
> > : I thank you both for your for all your help..... to clear things up a
> > little
> > :
> > : with the Win3kServer issue ...yes I am running IIS 6 which will ship
> with
> > : Server 2003. I didn't expect the "avg" person to be able to answer
this
> > : question as they really don't know how much IIS6 differs from IIS5
> (you'll
> > : find out soon..and I hate it already) but I had happened to see a post
> > about
> > : someone getting it to run in Win3k Server and that's why I had
asked...I
> > : followed up on his post and his instructions but to no avail....if I
> > : understood him correctly and followed his directions it did nothing
more
> > : then gave me a "security error" and yes im accessing it through HTTP
and
> > not
> > : the local file system
> > :
> > : again I thank you for all your time.... !!!
> > :
> > : --
> > :
> > : ~pingywon MCSE
> > : _____________________________________
> > :
> > : MCP, MCSA, MCSE Certification Forums.
> > :
> > : The Information Exchange.
> > :
> > : http://pingywon.mine.nu
> > :
> > : http://www.pingywon.ibforums.com
> > :
> > :
> > : "Pingywon McSe" <[EMAIL PROTECTED]> wrote in message
> > : [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > : > Hello all first and foremost let me just thank anyone who responds
to
> > this
> > : > post..this group appears rather helpful (Im new here) Im also new to
> php
> > : > (Big surprise ? )
> > : >
> > : > anyway heres the scoop:
> > : >
> > : > Im beginning work on a "testing engine" type thing...heh
> > : >
> > : > pretty much the form will open up ask you a question with 3 to 5
radio
> > : > buttons, you'll choose your answer then hit the submit..and it will
> > return
> > : > your answer weither it was correct or not and why ...... here is
where
> > the
> > : > questions begin.....I'll just list em out
> > : >
> > : > 1) Cant get the PHP visible on the net (under win Server 2003) added
a
> > : > service extension "php" and pointed it to my c:\php\php.exe all I
get
> it
> > a
> > : > security error. any ideas there ?
> > : > 2) When making the radio buttons and testing them it doesn't stop me
> > from
> > : > picking more then one button (in other words it will let me pick all
5
> > and
> > : > have them all selected at the same time ) how do I stop this ?
> > : > 3) Im assuming I will need to have an "answer" type php file so that
> the
> > : > page can return the results......will I have to have a different
file
> > for
> > : > EACH QUESTION!??!? as each question will be different ..
> > : >
> > : > ......This is beginning to look alot harder then I first imagined it
> > would
> > : > 4) if im not tracking any of the user info....do I need a SQL db ???
> > : >
> > : > ANY HELP IS MUCH APPRECIATED !!!!!
> > : >
> > : > --
> > : >
> > : > ~pingywon MCSE
> > : > _____________________________________
> > : >
> > : > MCP, MCSA, MCSE Certification Forums.
> > : >
> > : > The Information Exchange.
> > : >
> > : > http://pingywon.mine.nu
> > : >
> > : > http://www.pingywon.ibforums.com
> > : >
> > : >
> > :
> > :
> > :
> > : --
> > : PHP Windows Mailing List (http://www.php.net/)
> > : To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
--- End Message ---
--- Begin Message ---
You are not using IIS then, you are using Apache.
----- Original Message -----
From: "pingywon MCSE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 11:17 PM
Subject: Re: [PHP-WIN] Re: PHP .Net and a boat load of questions !!!
: thank you very much for your contribution, but as I had said before im new
: to PHP all together and do not fully understand your step 4
:
: "4. Once the setup is done, go into your IIS Server Manager and drop down
: to the website that you wish to install PHP for. Set it up as you would
: under a IIS5 server (Application Configuration, ISAPI Mappings) and setup
: the php.exe to run the .php files. (You can do the same for .phps if you
: wish.)"
:
: could someone please explain this step by step as Im not familiar with the
: steps .....again thank you for your time ...
:
:
: --
:
: ~pingywon MCSE
: _____________________________________
:
: MCP, MCSA, MCSE Certification Forums.
:
: The Information Exchange.
:
: http://pingywon.mine.nu
:
: http://www.pingywon.ibforums.com
: "Nick H. -- Technical Support Engineer" <[EMAIL PROTECTED]> wrote in
: message 001401c2cbce$a9afafc0$0402a8c0@nh2">news:001401c2cbce$a9afafc0$0402a8c0@nh2...
: > Here's a step-by-step howto on configuring IIS6.0 to work with CGI PHP
: >
: >
: > http://www.rtfmnewbie.com/php-iis6.txt
: >
: > I'll post an article on how to configure ISAPI within a couple of days.
: >
: >
: > Regards,
: > Nick H.
: > [EMAIL PROTECTED]
: >
: >
: > ----- Original Message -----
: > From: "pingywon MCSE" <[EMAIL PROTECTED]>
: > To: <[EMAIL PROTECTED]>
: > Sent: Monday, February 03, 2003 3:34 PM
: > Subject: [PHP-WIN] Re: PHP .Net and a boat load of questions !!!
: >
: >
: > : Well Iam at work right now and wont have time to play with this stuff
: till
: > : about Weds..
: > :
: > : I thank you both for your for all your help..... to clear things up a
: > little
: > :
: > : with the Win3kServer issue ...yes I am running IIS 6 which will ship
: with
: > : Server 2003. I didn't expect the "avg" person to be able to answer
this
: > : question as they really don't know how much IIS6 differs from IIS5
: (you'll
: > : find out soon..and I hate it already) but I had happened to see a post
: > about
: > : someone getting it to run in Win3k Server and that's why I had
asked...I
: > : followed up on his post and his instructions but to no avail....if I
: > : understood him correctly and followed his directions it did nothing
more
: > : then gave me a "security error" and yes im accessing it through HTTP
and
: > not
: > : the local file system
: > :
: > : again I thank you for all your time.... !!!
: > :
: > : --
: > :
: > : ~pingywon MCSE
: > : _____________________________________
: > :
: > : MCP, MCSA, MCSE Certification Forums.
: > :
: > : The Information Exchange.
: > :
: > : http://pingywon.mine.nu
: > :
: > : http://www.pingywon.ibforums.com
: > :
: > :
: > : "Pingywon McSe" <[EMAIL PROTECTED]> wrote in message
: > : [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
: > : > Hello all first and foremost let me just thank anyone who responds
to
: > this
: > : > post..this group appears rather helpful (Im new here) Im also new to
: php
: > : > (Big surprise ? )
: > : >
: > : > anyway heres the scoop:
: > : >
: > : > Im beginning work on a "testing engine" type thing...heh
: > : >
: > : > pretty much the form will open up ask you a question with 3 to 5
radio
: > : > buttons, you'll choose your answer then hit the submit..and it will
: > return
: > : > your answer weither it was correct or not and why ...... here is
where
: > the
: > : > questions begin.....I'll just list em out
: > : >
: > : > 1) Cant get the PHP visible on the net (under win Server 2003) added
a
: > : > service extension "php" and pointed it to my c:\php\php.exe all I
get
: it
: > a
: > : > security error. any ideas there ?
: > : > 2) When making the radio buttons and testing them it doesn't stop me
: > from
: > : > picking more then one button (in other words it will let me pick all
5
: > and
: > : > have them all selected at the same time ) how do I stop this ?
: > : > 3) Im assuming I will need to have an "answer" type php file so that
: the
: > : > page can return the results......will I have to have a different
file
: > for
: > : > EACH QUESTION!??!? as each question will be different ..
: > : >
: > : > ......This is beginning to look alot harder then I first imagined it
: > would
: > : > 4) if im not tracking any of the user info....do I need a SQL db ???
: > : >
: > : > ANY HELP IS MUCH APPRECIATED !!!!!
: > : >
: > : > --
: > : >
: > : > ~pingywon MCSE
: > : > _____________________________________
: > : >
: > : > MCP, MCSA, MCSE Certification Forums.
: > : >
: > : > The Information Exchange.
: > : >
: > : > http://pingywon.mine.nu
: > : >
: > : > http://www.pingywon.ibforums.com
: > : >
: > : >
: > :
: > :
: > :
: > : --
: > : PHP Windows Mailing List (http://www.php.net/)
: > : To unsubscribe, visit: http://www.php.net/unsub.php
: >
: >
:
:
:
: --
: PHP Windows Mailing List (http://www.php.net/)
: To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Disregard last email. This is the one pointing out that you are using
Apache and not Microsoft's IIS 6.0 Server.
Line to look at: set, a.go. via an Apache Action directive.
You are now entering into different category, as this is not just .Net
related (this is auctually probably only NTFS permissions related and
something to do with your Apache conf) and not IIS related. If you were
using IIS, you would understand 100% step 4 in the how-to, but since you are
not using IIS, you are confused. I refuse to use Apache on any Microsoft
box, as that's just wrong IMHO. IIS = Microsoft. Apache != Microsoft.
Apache = Open Source = *nix/BSD
That's just my 2 cents though.
/me drops 2 old pennies into the jar
Regards,
Nick H.
[EMAIL PROTECTED]
----- Original Message -----
From: "pingywon MCSE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 11:27 PM
Subject: Re: [PHP-WIN] Re: PHP .Net and a boat load of questions !!!
: this is the error I get ....
:
: "Security Alert! The PHP CGI cannot be accessed directly.
: This PHP CGI binary was compiled with force-chi-redirect enabled. This
means
: that a page will only be served up if the REDIRECT_STATUS CGI variable is
: set, a.go. via an Apache Action directive.
:
: For more information as to why this behavior exists, see the manual page
for
: CGI security.
:
: For more information about changing this behavior or re-enabling this web,
: consult the installation file that came with this distribution, or visit
the
: manual page."
:
:
: --
:
: ~pingywon MCSE
: _____________________________________
:
: MCP, MCSA, MCSE Certification Forums.
:
: The Information Exchange.
:
: http://pingywon.mine.nu
:
: http://www.pingywon.ibforums.com
: "Pingywon McSe" <[EMAIL PROTECTED]> wrote in message
: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
: > thank you very much for your contribution, but as I had said before im
new
: > to PHP all together and do not fully understand your step 4
: >
: > "4. Once the setup is done, go into your IIS Server Manager and drop
down
: > to the website that you wish to install PHP for. Set it up as you would
: > under a IIS5 server (Application Configuration, ISAPI Mappings) and
setup
: > the php.exe to run the .php files. (You can do the same for .phps if you
: > wish.)"
: >
: > could someone please explain this step by step as Im not familiar with
the
: > steps .....again thank you for your time ...
: >
: >
: > --
: >
: > ~pingywon MCSE
: > _____________________________________
: >
: > MCP, MCSA, MCSE Certification Forums.
: >
: > The Information Exchange.
: >
: > http://pingywon.mine.nu
: >
: > http://www.pingywon.ibforums.com
: > "Nick H. -- Technical Support Engineer" <[EMAIL PROTECTED]> wrote in
: > message 001401c2cbce$a9afafc0$0402a8c0@nh2">news:001401c2cbce$a9afafc0$0402a8c0@nh2...
: > > Here's a step-by-step howto on configuring IIS6.0 to work with CGI PHP
: > >
: > >
: > > http://www.rtfmnewbie.com/php-iis6.txt
: > >
: > > I'll post an article on how to configure ISAPI within a couple of
days.
: > >
: > >
: > > Regards,
: > > Nick H.
: > > [EMAIL PROTECTED]
: > >
: > >
: > > ----- Original Message -----
: > > From: "pingywon MCSE" <[EMAIL PROTECTED]>
: > > To: <[EMAIL PROTECTED]>
: > > Sent: Monday, February 03, 2003 3:34 PM
: > > Subject: [PHP-WIN] Re: PHP .Net and a boat load of questions !!!
: > >
: > >
: > > : Well Iam at work right now and wont have time to play with this
stuff
: > till
: > > : about Weds..
: > > :
: > > : I thank you both for your for all your help..... to clear things up
a
: > > little
: > > :
: > > : with the Win3kServer issue ...yes I am running IIS 6 which will ship
: > with
: > > : Server 2003. I didn't expect the "avg" person to be able to answer
: this
: > > : question as they really don't know how much IIS6 differs from IIS5
: > (you'll
: > > : find out soon..and I hate it already) but I had happened to see a
post
: > > about
: > > : someone getting it to run in Win3k Server and that's why I had
: asked...I
: > > : followed up on his post and his instructions but to no avail....if I
: > > : understood him correctly and followed his directions it did nothing
: more
: > > : then gave me a "security error" and yes im accessing it through HTTP
: and
: > > not
: > > : the local file system
: > > :
: > > : again I thank you for all your time.... !!!
: > > :
: > > : --
: > > :
: > > : ~pingywon MCSE
: > > : _____________________________________
: > > :
: > > : MCP, MCSA, MCSE Certification Forums.
: > > :
: > > : The Information Exchange.
: > > :
: > > : http://pingywon.mine.nu
: > > :
: > > : http://www.pingywon.ibforums.com
: > > :
: > > :
: > > : "Pingywon McSe" <[EMAIL PROTECTED]> wrote in message
: > > : [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
: > > : > Hello all first and foremost let me just thank anyone who responds
: to
: > > this
: > > : > post..this group appears rather helpful (Im new here) Im also new
to
: > php
: > > : > (Big surprise ? )
: > > : >
: > > : > anyway heres the scoop:
: > > : >
: > > : > Im beginning work on a "testing engine" type thing...heh
: > > : >
: > > : > pretty much the form will open up ask you a question with 3 to 5
: radio
: > > : > buttons, you'll choose your answer then hit the submit..and it
will
: > > return
: > > : > your answer weither it was correct or not and why ...... here is
: where
: > > the
: > > : > questions begin.....I'll just list em out
: > > : >
: > > : > 1) Cant get the PHP visible on the net (under win Server 2003)
added
: a
: > > : > service extension "php" and pointed it to my c:\php\php.exe all I
: get
: > it
: > > a
: > > : > security error. any ideas there ?
: > > : > 2) When making the radio buttons and testing them it doesn't stop
me
: > > from
: > > : > picking more then one button (in other words it will let me pick
all
: 5
: > > and
: > > : > have them all selected at the same time ) how do I stop this ?
: > > : > 3) Im assuming I will need to have an "answer" type php file so
that
: > the
: > > : > page can return the results......will I have to have a different
: file
: > > for
: > > : > EACH QUESTION!??!? as each question will be different ..
: > > : >
: > > : > ......This is beginning to look alot harder then I first imagined
it
: > > would
: > > : > 4) if im not tracking any of the user info....do I need a SQL db
???
: > > : >
: > > : > ANY HELP IS MUCH APPRECIATED !!!!!
: > > : >
: > > : > --
: > > : >
: > > : > ~pingywon MCSE
: > > : > _____________________________________
: > > : >
: > > : > MCP, MCSA, MCSE Certification Forums.
: > > : >
: > > : > The Information Exchange.
: > > : >
: > > : > http://pingywon.mine.nu
: > > : >
: > > : > http://www.pingywon.ibforums.com
: > > : >
: > > : >
: > > :
: > > :
: > > :
: > > : --
: > > : PHP Windows Mailing List (http://www.php.net/)
: > > : To unsubscribe, visit: http://www.php.net/unsub.php
: > >
: > >
: >
: >
:
:
:
: --
: PHP Windows Mailing List (http://www.php.net/)
: To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
guyz
this is an sos mail
i need a hand with my system design
if anyone outthere knowz uml for web and can spare me sum time id be
eternally gratefull .....
i no ur all really buzzy n deep into work :(
n ill understand ...... (A)
thnx a mill guyz
toby .....
dash u there ????
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
Hi!
I have a textfield wich allows any number of integers seperated with " ",
"," or "-"...
I need this input to be formated in two steps:
First into a sequence of numbers into an array, lowest first... Second to
the correct form of the initial input...
Example:
User input: "1,3, 3-6, 8" (string)
First step: 1,3,4,5,6,8 (array)
second step: "1,3-6,8" (string)
please help me with this one! I don't mind using ereg-functions though I'm
not good at it myself...
. bobo . www.elstudion.com . www.elstudion.com/bobo .
--- End Message ---
--- Begin Message ---
what command are you using to change the password?
*if you are using GRANT then you don't need to use PASSWORD() function,
unless you use IDENTIFIED BY PASSWORD clause
*if you are using INSERT or SET then you need to use PASSWORD() function to
encrypt the password.
see the actual password stored in database and compare it with encrypted
user password [
PASSWORD('userpasssword')], both should match.
hope that helps!
regds,
-----Original Message-----
From: Beach, Jim [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 21:16
To: [EMAIL PROTECTED]
Subject: script not allowing login after generating new password
Hi, I'm new in this list and to PHP and MySQL. I'd welcome any help you
can give.
I'm working on a simple application where a registered user submits a
"forgot my password" form. The script is supposed to generate a random
new password, write it to the database, and send it to the user. Then
they can log in with the new password and they're off and running.
Here's what happens now: The password generator works fine - it creates
a random string any length I want. The password field in the database
gets changed - not to the new random string but apparently to an
encrypted version of it via the MySQL password() function. The script
returns the user a notice of the new password. BUT, login with the new
password fails!
I'm reluctant to ask you to do my debugging but I'm almost brain dead
after hours of trying to figure this out. Can someone suggest where I
might look for the problem? I'll include my scripts in a reply if
needed.
Thanks very much in advance.
Jim
--- End Message ---
--- Begin Message ---
jim
with my veeeery little experteez what i do is
$password= time();
store this password into db
and mail it out to the member ....
all in the same file :)
what this does is not only a unique password for all my members its
also pretty difficult to apprehend ..... let alone anythin else
hope this helps
good luck
toby ......
--- Uttam <[EMAIL PROTECTED]> wrote: > what command are you using to
change the password?
>
> *if you are using GRANT then you don't need to use PASSWORD()
> function,
> unless you use IDENTIFIED BY PASSWORD clause
> *if you are using INSERT or SET then you need to use PASSWORD()
> function to
> encrypt the password.
>
> see the actual password stored in database and compare it with
> encrypted
> user password [
> PASSWORD('userpasssword')], both should match.
>
> hope that helps!
>
> regds,
>
> -----Original Message-----
> From: Beach, Jim [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 21:16
> To: [EMAIL PROTECTED]
> Subject: script not allowing login after generating new password
>
>
> Hi, I'm new in this list and to PHP and MySQL. I'd welcome any help
> you
> can give.
>
>
>
> I'm working on a simple application where a registered user submits
> a
> "forgot my password" form. The script is supposed to generate a
> random
> new password, write it to the database, and send it to the user.
> Then
> they can log in with the new password and they're off and running.
>
>
>
> Here's what happens now: The password generator works fine - it
> creates
> a random string any length I want. The password field in the
> database
> gets changed - not to the new random string but apparently to an
> encrypted version of it via the MySQL password() function. The
> script
> returns the user a notice of the new password. BUT, login with the
> new
> password fails!
>
>
>
> I'm reluctant to ask you to do my debugging but I'm almost brain
> dead
> after hours of trying to figure this out. Can someone suggest where
> I
> might look for the problem? I'll include my scripts in a reply if
> needed.
>
>
>
> Thanks very much in advance.
>
>
>
> Jim
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
I believe I have the supreme right to classify my
own questions as stupid as I will and feel for. ;)
But next time I can write
"A brilliant question: <blah> <blah>?"
to make everybody happy. :)
> -----Original Message-----
> From: Cam Dunstan
> Sent: Tuesday, February 04, 2003 12:36 AM
>
> There`s no such thing as a stupid question - unless of course we are trying
> to dramatically reduce the number of posts on this list.
>
> ----- Original Message -----
> From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
> Sent: Tuesday, February 04, 2003 2:50 AM
>
> > Stupid question: Are you returning the encrypted string to the "user"?
--- End Message ---
--- Begin Message ---
Thanks for all your help.
I performed some tests sent to me by other responders and still no luck.
But in the mean time I also discovered that I was passing the user
results of the wrong function! I changed how I report the new password
to the user and it works now.
In hind-sight it was painfully obvious. I have a lot to learn about
testing and debugging!
Thank you for your time.
Jim
--- End Message ---
--- Begin Message ---
hi agian ......
im through with usecaes exoansion and diagram ++ robustness diagram
n am at collaboration diagramz rite now
guyz id be in ur eternal debt if anyone can spare some time and go
through these and lemme no if ive screwedup some vere
im uploading these at my final project site (its a multilingual
application)
im pretty sure and sorry bout the fact, most of u will not be able to
understand the site itself sine it aint in english :( .....
the url is :
http://www.zaban.net/sos_doc/
thnx a mill guyz ......
waitin despretely .....
toby
ill upload the collaborationz just as im thru with em
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---