Bug #16694 Updated: connexion problem
| From: | sander@php.net | Date: | Fri, 19 Apr 2002 10:30:25 +0000 |
| Subject: | Bug #16694 Updated: connexion problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5375@lists.php.net to get a copy of this message | ||
ID: 16694
Updated by: sander@php.net
Reported By: dacol.jeremy@caramail.com
-Status: Open
+Status: Bogus
-Bug Type: Compile Warning
+Bug Type: MSSQL related
Operating System: win 2000+ase 12.5+easyphp
PHP Version: 4.1.2
New Comment:
This is NOT a support forum!
Previous Comments:
------------------------------------------------------------------------
[2002-04-19 04:42:40] dacol.jeremy@caramail.com
a try those solutions but when i put a @ before mssql_selec_db easyphp
tell me that it can find the page which call the connect_accessoire.php
i don't understand........
------------------------------------------------------------------------
[2002-04-19 04:25:37] hholzgra@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
adding a @ before mssql_select_db might help,
the rest you see are followups as the error
message enforced header sending
------------------------------------------------------------------------
[2002-04-19 04:11:24] dacol.jeremy@caramail.com
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 this bug report at http://bugs.php.net/?id=16694&edit=1