From: [EMAIL PROTECTED]
Operating system: win 2000+ase 12.5+easyphp
PHP version: 4.1.2
PHP Bug Type: Compile Warning
Bug description: connexion problem
hello,
i give you my connection script:
<?php
$db="accessoire";
$dbserver="B453903";
unset($conn);
$conn=@mssql_connect("$dbserver","sa","");
if(! $conn) {
echo "Connexion au serveur impossible";
exit;
} else {
$db=mssql_select_db("$db",$conn);
if (! $db) {
echo "Connexion � la base de donn�es impossible\n";
exit;
}
}
?>
when i compile this easyphp return me:
Warning: Sybase: Server message: Changed database context to 'accessoire'.
(severity 10, procedure N/A) in c:\program
files\easyphp\www\test\fonction\connect_accessoire.php on line 12
and after this i use headers and session cookies.....
i don't show you all of the warning it cames.
if you have a solution please help me i'm going to be mad!!!
thanks
--
Edit bug report at http://bugs.php.net/?id=16694&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16694&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16694&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16694&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16694&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16694&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16694&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16694&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16694&r=submittedtwice