| Comments |
| mb posted on 2007-03-27 17:43:04 |
| never mind....turned out to be a php.ini config setting issue. :) |
| mb posted on 2007-03-27 17:26:53 |
| Version of PHP? I am using 4.4.6 and get the following warnings: Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in c:\inetpub\wwwroot\passwords.php on line 7 Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\passwords.php:7) in c:\inetpub\wwwroot\passwords.php on line 8 |
| Jeff posted on 2007-03-05 16:28:09 |
| Im trying to understand this, i know html but not alot of php, I have a login.php( with the php code included) the password.php( with the php code included), Now all i need to do is make a registration page to my website and add that last block of code up their correct? |
| Guy posted on 2007-03-04 06:12:32 |
| i have php script for cpanel email on my website then my visitor can have a free email thru my server but i need capcha script to protect signup against spam. i need to know where to put capcha script at. Thanks ---------------------- Veselin: you need to put it on your user registration page |
| Praveen Kumar posted on 2007-01-26 03:28:53 |
| SimplySuper |
| Jaba Smart posted on 2007-01-25 09:13:25 |
| What about a logout script? -------------------------- Veselin: you can create a new script which deletes the user variable $_SESSION["logged"]=''; |
| jo posted on 2007-01-12 09:41:43 |
| It's still 2 thing need fix. First, the password box show your password when type it, it should show ******* Second, after login, it said "You are logged in" BUT not forward to the main page. I did put the protect code in my page. Can you fix it? thanks --------------------------- Veselin: password field is not visible now. For the redirect you can use header() function |
| jo posted on 2007-01-11 17:12:20 |
| Just make a test , after replace username1 =test and paswword1 = go . It said invalid username and password. Did I miss something? Please help. Thanks ------------------------ Veselin Stoilov: I did a small update to the tutorial. There was a little typing mistake. Sorry for confusion. |
| Eric posted on 2006-12-21 11:20:11 |
| can i use this code to password protect html pages? ----------------- Veselin: you need to use it on PHP pages or you can make your server parse the HTML pages as PHP ones and use the code. |