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
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
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
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
?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'])) {
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
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
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
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);
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
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:
11 matches
Mail list logo