Re: [PHP] Login Script

2004-07-19 Thread Cosmin Chiru
Hello Brian, Take a look at setcookie() in the PHP manual. The algorithm is pretty simple. Once the user submits the form, you compare form data with the data in the database. If the password matches, then set a cookie with the username (using setcookie()). Then you'll just have to check if the co

Re: [PHP] Mixing $_POST with text in a variable

2004-07-19 Thread Cosmin Chiru
Hello Markus, Monday, July 19, 2004, 8:17:24 PM, you wrote: > I'm changing my HTTP POST variable declarations from $variablename to > $_POST['variablename'] to make my code more compliant with current best > practices. > However, I find that I cannot mix these new variable declarations into > b

Re: [PHP] Can't install PHP on Windows/Apache

2004-07-19 Thread Cosmin Chiru
Hello abrea, Monday, July 19, 2004, 7:58:15 PM, you wrote: > Dear list, > I am trying to install PHP 4.3.8 as a module of Apache 2.0.50 on a > Windows 98 computer. > Apache alone runs ok. After I installed PHP with the installer package, I > added the following line at the end of the Apache http