You are here: Re: [PHP] Re: [NOVICE] SSL use « PHP « IT news, forums, messages
Re: [PHP] Re: [NOVICE] SSL use

Posted by -K. on 04/23/05 01:02

> > from my php script, do i need to make a special
> > connection to the database
> > or is the same e.g pg_connect(host= localhost
> >dbname=test user=p
> > password=p)?
>
> You could add "sslmode=require" to attempt only an
> SSL connection.

I have couple related questions:

Is this necessary if the database is running on the
same machine (as implied by "host= localhost")? If so
why?

Is it possible to make an SSL connection between
Apache and Postgres using Unix-domain sockets?




-k.



__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация