[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Pb avec mSQL



Bonjour,

j'ai un problème pour utiliser la passerelle w3-msql avec mon serveur apache
voici les erreurs ainsi que le code source de la page .msql:


Message d'erreur de Netscape:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable
to complete
your request.

Please contact the server administrator, root@localhost and inform them of
the time the
error occurred, and anything you might have done that may have caused the
error.

More information about this error may be available in the server error log.

----------------------------------------------------------------------------
--------------------------------------

Message dans Error_log:

[Tue Jun 13 02:29:36 2000] [error] [client 127.0.0.1] Premature end of
script headers: /home/httpd/cgi-bin/w3-msql
[Tue Jun 13 02:30:26 2000] [error] [client 127.0.0.1] Premature end of
script headers: /home/httpd/cgi-bin/w3-msql
[Tue Jun 13 02:41:50 2000] [error] [client 127.0.0.1] Premature end of
script headers: /home/httpd/cgi-bin/w3-msql


----------------------------------------------------------------------------
--------------------------------------

Code HTML

H<TML>
  <HEAD>
    <META content="fr">
    <TITLE>
      Liste des acteurs
    </TITLE>
    <LINK rel="stylesheet" type="text/css" href="style/bstylecss">
  </HEAD>
  <BODY>
     <!
     $sock=msqlConnect();
     if ($sock<0) { echo("erreur1"); }
     if (msqlSelectDB($sock,"cinema")<0) { echo("erreur2"); }
     if (msqlQuery($sock,"select nomact,titre from acteur where
nomact='$act'")<0) { echo("erreur3"); }

     while (#$row > 0) {
     echo("<BR>");
	 echo("<B>$row[0]</B><BR>");
     	 echo("Films : <B>$row[1]</B><BR>");
	 $row=msqlFetchRow($res);
     }
     msqlClose($sock);
     >
</BODY>
</HTML>


____________________________________________________________________________
__
message envoye depuis http://www.ifrance.com
emails (pop)-sites persos (espace illimite)-agenda-favoris
(bookmarks)-forums
Ecoutez ce message par tel ! : 08 92 68 92 15 (france uniquement)


 
______________________________________________________________________________
message envoye depuis http://www.ifrance.com
emails (pop)-sites persos (espace illimite)-agenda-favoris (bookmarks)-forums 
Ecoutez ce message par tel ! : 08 92 68 92 15 (france uniquement)




Reply to: