PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
As part of a webdevelopment project I'm doing for a friend (adding php and database functionality to a static website) I need to set up authentication (He uses the site to list essays and other works he's produced, I want to make sure that only he can add/remove work)
using HTTP authentication.
Then the problems started. The main source I'm working off is the authentication tutorial on webmonkey.com - http://www.webmonkey.com/webmonkey/00/0 ... rogramming
I've copied and pasted the code and am running in to some problems. On the second example (where the password is listed explicitely in the code as admin abc123) the password isn't accepted.
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]