|
|
|
Adding user "Nobody" to PostgreSQL using createuser command.
This error message was generated before user "nobody" had been created in
postgres:
" Warning: Unable to connect to PostgreSQL server: Fatel 1: SetUserId: User
'nobody' is not in "pg_shadow" in /usr/local/apache/html/test.php3 on line 3"
As superuser, issue the following:
createuser nobody
(then grant database privilages by answering yes or no to the following
questions)
This will register the httpd user, "nobody" with PostgreSQL and thus grant
access to the postgres server through a PHP3 Web Page accessed through
pg_connect. |
|
| PostgreSQL and apache web authentication source.
Categories : Authentication, PostgreSQL, Apache, Web Servers | | | AUTH (.htaccess style) - a login system that uses PostgreSQL. Categories : PHP, Authentication, Databases, PostgreSQL | | | Using Postgres and PHP3 Authentication from a Web application Categories : PostgreSQL, HTML and PHP, Authentication, PHP | | | This is Yet Another Sql Abstraction Library. Include it in your script and you can use the most important SQL functions without worrying about the SQL backend. Categories : Databases, PHP, ODBC, MySQL, PostgreSQL | | | Using $PHP_AUTH_USER and $PHP_AUTH_PW to authenticate. Categories : Authentication, PHP | | | Basic Authentication with sessions Categories : PHP, Beginner Guides, Authentication, Form Processing, Sessions | | | When you like to limit result of query At PostgreSQL 7.0 Categories : PostgreSQL, Databases | | | How to protect an entire directory with PHP3 Categories : Authentication | | | Simple Password example Categories : PHP, Authentication, Security, HTTP | | | PHP Function to Encrypt/Decrypt a string without a known key. The string itself has his own different key for every character. Categories : PHP, Algorithms, Security, Authentication, Encryption | | | Complete, simple working example of login screen and check on a unique page using php functions, cookies and mysql database. Categories : PHP, Cookies, MySQL, HTML and PHP, Authentication | | | Function to remember password Categories : PHP, Authentication, Personalization and Membership | | | PHP4 MYSQL Authentication Script with cookie. Short & Sweet
Categories : Authentication, Apache, Cookies, PHP, MySQL | | | Authorize Me! An authentication script. Categories : MySQL, Databases, Authentication, PHP | | | Authentication script to authenticate users in Active Directory through LDAP. Categories : LDAP, Authentication, Cookies, PHP | |
|
|
|