Newbie needs help

Поиск
Список
Период
Сортировка
Искать

Newbie needs help

От:
"Matthew T. O'Connor" <matt@ctlno.com>
Дата:
Hello, I am a newbie in the world of Linux Admin \ Apache \ PostgreSQL.
I have a lot of Unix user experience, and a lot of NT sysadm experience.
I am now attempting to work with Linux and create a web site that is
driven by a database.  I am looking for a good guide to how to do this.
Any help?  I have been reading about the pgsql module for Apache, but I
can't find it. and I have been reading about PHP3 but I'm not sure how
to use it.

Thanks in advance,

Matt O'Connor

Re: [INTERFACES] Newbie needs help

От:
Constantin Teodorescu <teo@flex.ro>
Дата:
Matthew T. O'Connor wrote:
> 
> Any help?  I have been reading about the pgsql module for Apache, but I
> can't find it. and I have been reading about PHP3 but I'm not sure how
> to use it.





 afiseaza si
modifica notita
"; echo "Clic sterge iremediabil notita

"; echo ""; while($i<$nrecs) { echo ""; $i++; } echo "
 DataSubiect 
"; echo ""; echo "",substr(pg_Result($res,$i,"data"),0,16),"",pg_Result($res,$i,"subiect"); echo ""; echo "


"; } ?>
Titlu:
Titlu : $subiect

"; echo "Continut : $continut

"; $dbc=pg_Connect("localhost","5432","","","consiliu"); $res=pg_Exec($dbc,"insert into blocnotes values('$REMOTE_USER','$acum','$subiect','$continut')"); pg_FreeResult($res); pg_Close($dbc); echo "A fost introdus in blocnotes!"; elseif ($argv[0]=="list"): $dbc=pg_Connect("localhost","5432","","","consiliu"); $res=pg_Exec($dbc,"select oid,* from blocnotes where iuzar='$REMOTE_USER' order by data desc"); Listeaza(); pg_FreeResult($res); pg_Close($dbc); elseif ($argv[0]=="show"): $dbc=pg_Connect("localhost","5432","","","consiliu"); $res=pg_Exec($dbc,"select * from blocnotes where oid=$ovar"); echo "Subiect : ",pg_Result($res,0,"subiect"),"

"; echo "Continut :
",pg_Result($res,0,"continut"),"
"; echo "


"; echo "Modifica
"; pg_FreeResult($res); pg_close($dbc); elseif ($argv[0]=="showandchange"): $dbc=pg_Connect("localhost","5432","","","consiliu"); $res=pg_Exec($dbc,"select * from blocnotes where oid=$ovar"); ?>
Titlu: ">

"; echo "Subiect : $subiect

"; echo "Continut :
$continut
"; elseif ($argv[0]=="delete"): $dbc=pg_Connect("localhost","5432","","","consiliu"); $res=pg_Exec($dbc,"delete from blocnotes where oid=$oid"); pg_FreeResult($res); $res=pg_Exec($dbc,"select oid,* from blocnotes where iuzar='$REMOTE_USER' order by data"); Listeaza(); pg_FreeResult($res); pg_Close($dbc); elseif ($argv[0]=="search"): ?>
Cuvint

"; } else { Listeaza(); } pg_FreeResult($res); pg_Close($dbc); } else { echo "

Introduceti macar o litera !

"; } endif; ?> -- Constantin Teodorescu FLEX Consulting Braila, ROMANIA
FAQ