note 49263 rejected from function.mysql-connect by nlopess
| From: | nlopess@php.net | Date: | Fri, 21 Jan 2005 20:13:37 +0000 |
| Subject: | note 49263 rejected from function.mysql-connect by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83748@lists.php.net to get a copy of this message | ||
Note Submitter: igelcom at gmx dot de
----
Hi there!
i am getting mad while trying to get this stuff running.
on my system are:
Apache 2.0.52
PHP 5.0.3
Mysql 4.1
i progrqammed a script taken from "http://3dBUZZ.com" ´s
"php & Mysql Training course".
as following:
##File temp_con.php stored in webroot:
<?php
require($_SERVER["DOCUMENT_ROOT"]."/config/db_config.php");
$connection = mysql_real_connect($db_host, $db_user, $db_password)or die("fehler beim
connecten");
echo "connection war erfolgreich";
?>
## end of file
and
##File "db_config.php" stored in c:\webroot\config
<?php
$db_host = "localhost";
$db_user = "karsten";
$db_password = "sharon";
$db_name = "buzz_db";
?>
## end of file
My problem is i cant figure out how to install the new "MYSQL_REAL_CONNECT" - feature
i am looking a whole f*$%%%ing day now and there is no germen help for it.
everytime i locate to "http://localhost/temp_con.php"
the only thing i get back is:
a
Fatal error: Call to undefined function mysql_real_connect() in
C:\WEBSEITEN\BaltiCom2005\temp_con.php on line 3
HELP me please!!!
sincerely yours
Karsten Scherer igelcom@gmx.de