[PHP-DB] cookies

2003-12-04 Thread Maris Kalnins
Let's assume that we have an html page where we plant a call to cookie registering php script. This is done by the following html line which is placed on that page we would like to have cookies stats for: html ... body .. img nocache border=0 width=2 height=1

Re: [PHP-DB] cookies

2003-12-04 Thread Maris Kalnins
Right, but in my example HTML line img nocache border=0 width=2 height=1 src=http://www.cookiedomain.com/cookies/cookies.php isnt it refering and setting cookie for www.cookiedomain.com even if this HTML file is on another domain? Maris Richard Davey [EMAIL PROTECTED] wrote in message

Re: Re[2]: [PHP-DB] cookies

2003-12-04 Thread Maris Kalnins
thanks a lot Richard, now it's completely clear for me! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] odbc_pconnect

2002-04-02 Thread Maris Kalnins
Hi All! I have a situation where I need to keep connection still active after php script is done and page displayed! I tried to use $cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw); But unfortunately connection closes automatically when script is done! What must I do to keep connection

[PHP-DB] odbc vs mysql

2002-04-02 Thread Maris Kalnins
When connecting to database (Sybase) through ODBC it takes some time to establish odbc connection with: $cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw); And only after that I am able to access data through SQL Selects The problem is that every time the script is finished this connection

[PHP-DB] odbc_pconnect doesnt reuse connection

2002-04-02 Thread Maris Kalnins
Hi! Configuration: WinXP, the latest Apache, PHP4 The problem is that every time the script runs and the following command is executed $cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw); it happens very often that a new connection is created instead of reusing the old one! Is there any idea