[PHP-DB] mssql_select_db

2005-08-16 Thread blackwater dev
I have some code which connects to a remote SQL server. The code has worked fine for a year and now the mssql_select_db is failing. The code hasn't changed and I talked to the SQL Server admin who assures me nothing has changed and I am talking to the web host who says nothing changed...how can

RE: [PHP-DB] Php with MySQL replication

2005-08-16 Thread Bastien Koert
Have you made any progess with this yet? Could it simply be a delay due to replication log size before the replication is triggered...its much more a mysql issue than a php one... Bastien From: David Brinks [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] Php with MySQL

[PHP-DB] Getting error with IE

2005-08-16 Thread Vincent Lape
I am getting an error with IE when I load the page https://doctors.cardiactelecom.com Line: 6 Char: 1 Error: Object Expected Code: 0 [CODE] ?php require_once('Connections/mysql.php'); ? ?php // *** Validate request to login to this site. session_start(); $loginFormAction=$_SERVER['PHP_SELF']; if

RE: [PHP-DB] Getting error with IE

2005-08-16 Thread Bastien Koert
Its a js error, post the complete page code/ js code for the page bastien From: Vincent Lape [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] Getting error with IE Date: Tue, 16 Aug 2005 16:59:11 -0400 I am getting an error with IE when I load the page

RE: [PHP-DB] Getting error with IE

2005-08-16 Thread Vincent Lape
?php require_once('Connections/mysql.php'); ? ?php // *** Validate request to login to this site. session_start(); $loginFormAction=$_SERVER['PHP_SELF']; if (isset($accesscheck)) { $GLOBALS['PrevUrl'] = $accesscheck; session_register('PrevUrl'); } if (isset($_POST['UserID'])) {

RE: [PHP-DB] Getting error with IE

2005-08-16 Thread Bastien Koert
can you attach the file...hotmail always make a mess of the code bastien From: Vincent Lape [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: 'Bastien Koert' [EMAIL PROTECTED],php-db@lists.php.net Subject: RE: [PHP-DB] Getting error with IE Date: Tue, 16 Aug 2005 17:28:50 -0400 ?php

[PHP-DB] session

2005-08-16 Thread Shahmat Dahlan
In my php.ini I've enabled session.use_cookies=1 Everytime I initialize a session, it create the session storage file in my /tmp At the top my script, I've added session_start (); In my test login function, this was what I did: $_SESSION['username'] = 'abcdef'; session_set_cookie_params (time

[PHP-DB] Re: session

2005-08-16 Thread Shahmat Dahlan
And I've forgot to mention the fact that my session_set_cookie_params (); even if I've supplies a url and a domain, e.g. $_SESSION['username'] = 'abc123'; session_set_cookie_params (time () + 3600, /myurl/, .mydomain.com); And with session_get_cookie_params (); I don't even get any values as

[PHP-DB] Problems getting data out from the database

2005-08-16 Thread Chin Yan Yan
I had try using the fetch arrays things or the fetch rows but it nv show anything out. The ans and info are two different table but in the same database. Below is the coding. ? $host='localhost'; $username='root'; $password='asd'; $connection = mysql_connect($host,$username,$password);

Re: [PHP-DB] Problems getting data out from the database

2005-08-16 Thread Micah Stevens
Do you get error messages? Try this: ? $host='localhost'; $username='root'; $password='asd'; $connection = mysql_connect($host,$username,$password) or die(mysql_error()); mysql_select_db(testing) or die(mysql_error()); $ans = mysql_query (select ans.choice from ans, info where

RE: [PHP-DB] Getting error with IE [[ SOLVED ]]

2005-08-16 Thread Vincent Lape
Thanks, the problem is solved. I forgot to remove an old ref to some JavaScript I decided not to use. Funny what a fresh set of eyes will do for something one has been staring at for hours :) Thanks again, Vinny -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: