Re: ODBC under linux + PHP + Apache problem.

From: Date: Mon, 05 Aug 2002 05:34:57 +0000
Subject: Re: ODBC under linux + PHP + Apache problem.
Groups: php.general 
Request: Send a blank email to php-general+get-111153@lists.php.net to get a copy of this message
>I have no warnings trying to find DSN, but now nothing happens. I suppose >that it finds dsn but there is another error somewhere. But there is no >logs, there is no output in the browser... i dont know what to do, i have > >this is the reply from the browser; >The following error was encountered: >Zero Sized Reply >Squid did not receive any data for this request. > >this is my code: ><html>^M ><title>REGISTRO DE LLAMADAS</title>^M ><body >^M ><?php >putenv("ODBCINSTINI=/etc/odbcinst.ini"); >putenv("ODBCINI=/etc/odbc.ini"); >if(!extension_loaded('odbc')) >{ > if(!dl("odbc.so")){ > exit; The preceding line would cause the exact behaviour you describe. Try die("Could not load odbc.so") instead of exit; > } >} >echo "dl odbc loaded ok<br>"; >$cx=odbc_pconnect("cdr2","mylogin","mypasswd",""); >echo "connected"; >?> ></body> ></html> > > > > >thanks in advance! -- Like Music? http://l-i-e.com/artists.htm I'm looking for a PRO QUALITY two-input sound card supported by Linux (any major distro). Need to record live events (mixed already) to stereo CD-quality. Soundcard Recommendations? Software to handle the recording? Don't need fancy mixer stuff. Zero (0) post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo audio-to-disk.

« previous php.general (#111153) next »