On 5/14/06, Michelle Konzack <[EMAIL PROTECTED]> wrote:
Hello,
I run a webserver which is a frontend for a huge PostgreSQL database.
Now I like to code some stand-alone Apps, which can connect to a
daemon uploading files and geting infos from the database
(NO, the have no right to connect directly to the database)
Questions for now:
1) How to code a daemon?
This would be a good place to start.
http://www.php.net/pcntl
Depending on your app you might need to look at shared memory, but the
main area to check out would be the process functions.
http://www.php.net/manual/en/ref.sem.php
2) How to use ssl-certs for the connection?
The $USER must use an USB-Key with its one cert.
There are ssl functions you can use:
http://www.php.net/manual/en/ref.openssl.php
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php