[PHP] Paginating searchs = performance problem

2006-10-20 Thread Fourat Zouari
I have PHP/PostgreSQL application were i got a search page with some items to search, am building the search query on server side. I need to display a paginated search and for this i need to get the total count of lines matching the search before OFFSET/LIMITing my page, am i obliged to repeat th

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Fourat Zouari
adodb-odbc.inc.php* on line *60* here On 9/7/06, Fourat Zouari <[EMAIL PROTECTED]> wrote: i want to understand something : when using a dsn like this with adodb : "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=/var/tmp/etiq.db" should i have an ODBC layer or not ? On 9/7/06, Joe Wol

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Fourat Zouari
that would be a good starting point for research. Perhaps they have built a kind of API to allow other programs to do the same..then again, maybe not - but like I said, it's some place to start. On Sep 7, 2006, at 7:57 AM, Fourat Zouari wrote: > it's a PHP question : how can

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Fourat Zouari
it's a PHP question : how can we access Ms Access mdb files without ODBC ? On 9/7/06, Angelo Zanetti <[EMAIL PROTECTED]> wrote: Fourat Zouari wrote: > Hello all, > I need to create a script that can open a connection to a given .mdb file > (Microsoft Access) and do some

[PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Fourat Zouari
Hello all, I need to create a script that can open a connection to a given .mdb file (Microsoft Access) and do some light selects on it, anyway ... The problem that i wont create an ODBC instance, i wont and cant install ODBC support on the server for the unique purpose of doing that on the mdb fi

Re: [PHP] Is it a bug ?

2006-05-14 Thread Fourat Zouari
cajbecu, am talking about non-blocking sockets, that's a simple blocking socket On 5/14/06, cajbecu <[EMAIL PROTECTED]> wrote: $var = file ("http://www.some.server.net:someport";); then $var=explode ... bla bla.. that never crash. cheers, cajbecu On 5/14/06, Fourat Zou

Re: [PHP] Is it a bug ?

2006-05-14 Thread Fourat Zouari
On 5/14/06, Fourat Zouari <[EMAIL PROTECTED]> wrote: ok this is returning the retrived data from open sockets : http://pastebin.com/716768 this is returning an empty string : http://pastebin.com/716767 it's not a bug :) i shoul wait for stream to be retu

Re: [PHP] Is it a bug ?

2006-05-14 Thread Fourat Zouari
ok this is returning the retrived data from open sockets : http://pastebin.com/716768 this is returning an empty string : http://pastebin.com/716767 On 5/14/06, chris smith <[EMAIL PROTECTED]> wrote: On 5/14/06, Fourat Zouari <[EMAIL PROTECTED]> wro

[PHP] Is it a bug ?

2006-05-13 Thread Fourat Zouari
Code 1 : - var_dump(stream_get_contents($rr)); - Output 1 - string(185) "HTTP/1.1 202 Accepted Server: Apache2 Content-Length: 24 Connection: close Content-type: text/html Pragma: no-cache Cache-Control: no-cache 0: Accepted