On Thu, 5 Jul 2001, Cristian wrote:

> 
>       Am urmatorul script php3:
> <?
> .........
> $mysql_host= "localhost";      //serverul mySql                                      
>                                        
> $mysql_user= "root";          // utilizatorul                                        
>                                               
> $mysql_pass= "";             // parola                                               
>                                               
> $baza = "lucru";            //baza de date                                           
>                                           
> $separator= "<hr width=66%>";  //o linie de separatie                                
>                                               
>                                                                                      
>                                               
> mysql_connect($mysql_host,$mysql_user,$mysql_pass);                                  
>                                               
> //MYSQL_CONNECT ($mysql_host,$mysql_user,$mysql_pass); 
> .............
> ?>
> 
>       Cand il rulez, imi da urmatoarea eroare:
> Fatal error: Call to undefined function: mysql_connect() in
> /var/www/html/guestbook/index.php3 on line 11
>       Linia numarul 11 este urmatoarea:
> mysql_connect($mysql_host,$mysql_user,$mysql_pass); 
>       Stiti cumva ce nu am facut bine, ce am gresit? Folosesc MySQL
> 3.23.38 iar PHP 4.0.1pl2 pe un sistem RedHat 7.0.
>       Orice idee este binevenita. 
> Va multumesc mult. 
> 

da php-ul ala are suport de mysql??
sau daca e din distributie verifica si tu prin php.ini (/usr/local/lib sau
pe unde il pune redhat) daca incarca modul de mysql (parca asa vin toate
distributiile astea, cu rpm-uri care contin module de php)

rpm -qa | grep php ce zice?

----------------------------
Mihai RUSU
"... and what if this is as good as it gets ?"

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui