Problems with mysql+php+apache

yellowdog-general@lists.terrasoftsolutions.com yellowdog-general@lists.terrasoftsolutions.com
Thu Jan 23 04:38:01 2003


Hi you all,
I think that a loto ofpeople had to fight the same problem: I look at lists
and find a lot of info about my problems but noone of the hints worked.

This is my envinonment:

Apple G3 (Beige) with Yellowdog 2.3 installed.

apache 1.3.22--3b (even devel and conf), but I tried more recent releases
(1.3.27)

php-4.1.2-7.3.6a
php-mysql-4.1.2-7.3.6a
php-ldap-4.1.2-7.3.6a
php-devel-4.1.2-7.3.6a
php-odbc-4.1.2-7.3.6a

gcc-2.95.4-4j
libgcc-3.0.1-0

glibc-2.2.5-42.2.3a
glib-1.2.10-5
glibc-common-2.2.5-42.2.3a

Two NICs installed.

The computer is part of a larger network and I would like to use it for
developing/hosting application using opensource code.

We're trying to use this machine with PHP + MYSQL but, when we try to
access php code the page come bak blank or with a something that make me
believe that the code in not executed, a thing like this:

------
$db_host"); mysql_select_db($database,$link) or die ("Non riesco a
selezionare il DB"); $query_nome = "SELECT nome FROM login"; $res_nome =
mysql_query($query_nome,$link) or die ("Errore: ". mysql_error());
$info_nome = mysql_fetch_row($res_nome); $query_pass = "SELECT pass FROM
login WHERE nome='$info_nome[0]'"; $res_pass = mysql_query
($query_pass,$link) or die ("Errore: ". mysql_error()); $info_pass =
mysql_fetch_row($res_pass); if(($info_nome[0] == $nome) && ($info_pass[0]
== $pass)) { include("prima.php"); } else { include ("errore_login.html");
} mysql_close($link); ?>
------

Is there someone who could help me?

Thank you in advance!


Cordiali saluti /Kind regards

Dr. Carlo Orecchia
______________________

STIGE s.r.l.
Via G. Gobetti, 52/q
40126 - Bologna

051 588 23 18
http://www.stige-net.com