login me PHP se MS-SQL server 7

Spiros Bolis sbolis at freemail.gr
Sun Dec 5 14:07:06 EET 1999


Paides geia xara,
Yparxei enas MS-SQL server 7 poy epikoinwnei mesw ODBC drivers ths openlink me ena RedHat/ Apache 1.3.6/ PHP 3.0.9
sxedon ola wraia mexri th stigmh poy bazeis lathos login h password sthn authentication forma
To netscape tote petaei ena mhnyma toy styl: "the document contains no data"
Debuging ston kwdika edei3e pws h ektelesh kolaei sth grammh

$iConnect = odbc_connect("DSN=xxx;Uid=".$USERNAME.";Pwd=".$PASSWORD.";",$USERNAM
E,$PASSWORD);

opoy xxx to DSN entry sto arxeio /etc/udbc.ini (einai to shmeio poy pataei o ODBC drivers an telospantwn exw katalabei kala). Edw na shmeiwsw pws epeidh h openlink dinei dwrean toys drivers ths, to documentation einai apo anyparkto ews aisxro. to na ginoy
n ta entries gia na bainei me to swsto password sth bash htan ena paixnidi sta tyfla.

Kleinei to istoriko : h katastash loipon exei ws e3hs. An brethei kapoios mhxanismos toy styl 

try
....
except

(opws exei  h Object Pascal ths Borland Delphi poy 3erw) to thema tha lythei giati h ektelesh ths PHP  odbc_connect poy apotygxanei me to lathos password-username kai de gyrnaei sthn iConnect timh tha parakamfthei.

3erei kaneis an yparxei kati antistoixo sthn PHP me to try ths Delphi kai an oxi pws alliws tha boroyse na parakamfthei?

Opoiadhpote boitheia eyprosdekth opws katalabainete

Eyxaristw,

Spiros D. Bolis

--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/lgu.html
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list