php-mysql problem, please help me!
From: veky (vekywong_at_netvigator.com)
Date: 09/29/03
- Next message: Sasa Stupar: "Re: IPTABLES - FIREWALL - USER BLOCK"
- Previous message: Balbino Brito: "Re: IPTABLES - FIREWALL - USER BLOCK"
- Next in thread: Schlueri: "Re: php-mysql problem, please help me!"
- Reply: Schlueri: "Re: php-mysql problem, please help me!"
- Reply: Douglas Clinton: "Re: php-mysql problem, please help me!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Sep 2003 20:46:55 +0800
Hello,
I had a problem about php-mysql, I creat a test file: test.php, the content
shown below, when I use client PC (win 2000) to connect the
file(http://mydomain/test.php) show error message:
Fatal error: Call to undefined function: mysql_connect() in
/home/website/test.php on line 9
who can help me? thank a lot!
test.php:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<body bgcolor="#FFFFFF">
<?php
$link=mysql_connect("localhost","root","password");
?>
<p></p>
</body>
</html>
server status:
[root@redhat9 root]# rpm -qa | grep php
php-4.2.2-17
php-ldap-4.2.2-17
php-imap-4.2.2-17
[root@redhat9 root]# rpm -qa | grep MySQL
MySQL-server-4.0.15-0
MySQL-client-4.0.15-0
[root@redhat9 root]#
- Next message: Sasa Stupar: "Re: IPTABLES - FIREWALL - USER BLOCK"
- Previous message: Balbino Brito: "Re: IPTABLES - FIREWALL - USER BLOCK"
- Next in thread: Schlueri: "Re: php-mysql problem, please help me!"
- Reply: Schlueri: "Re: php-mysql problem, please help me!"
- Reply: Douglas Clinton: "Re: php-mysql problem, please help me!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|