[Centos] Problem with conection to postgresql from php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi anyone!

I've using Centos 4.0, and I've a problem at the time of connecting me
to the data base from PHP, my code is:

<?php
        session_start();
        session_register("session");
        include("include/connect.php");
        include("include/disenno.php");

?>
<html>
<head>
...

When I connect myself to the page does not show anything to me of which
it is underneath include("include/connect.php")
This file have this:

<?php
$db1 = pg_connect("dbname=db user=user password=pass host=ip");
?>

In Centos 3.4 the same configuration works well.

Any idea?

Bye!
-- 
Cristofer Reyes Aguilera        linux-user #353991                           
http://www.inf.utfsm.cl/~crreyes
Laboratorio de Computacion, Departamento de Informatica, UTFSM
crreyes (at) inf (dot) utfsm (dot) cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.caosity.org/pipermail/centos/attachments/20050313/caf77714/attachment-0001.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux