[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-internals
Subject:    [PHP-DEV] PHP & Apache
From:       bora () enterprisenet ! it
Date:       1999-09-29 16:07:38
[Download RAW message or body]

Hi.
 I installed PHP, but every time I load a document, I get the message
'Document Contains No Data'

The test with gdb httpd return: 

(gdb) run -X -f /etc/httpd/conf/httpd.conf
Starting program: /usr/sbin/httpd -X -f /etc/httpd/conf/httpd.conf

Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
(gdb) bt  
#0  0x0 in ?? ()
(gdb) quit
--------------------------

Please, help me.

Enzo Bontempo

----------------------------------
E-Mail: bora@enterprisenet.it
Date: 29-Sep-99
Time: 17:55:28

This message was sent by XFMail
----------------------------------

["form.inc.php3" (form.inc.php3)]

<?
include("./lang/$lang.lang.inc.php3");
include("./lang/$lang.inc.php3");
$datum = ("$n. $monat $jahr");
?>
<p align="center">
<form ACTION="<?php  echo($PHP_SELF);?>" METHOD=post>
<table ALIGN="center" WIDTH="80%"><tr>
<?
$ip1 = getenv("REMOTE_ADDR");
$ip = gethostbyaddr($ip1);
print "<td>";
print "$name1<br><input type=\"text\" name=\"name\" size=50 \
value=\"$GBName\"></td></tr><tr>"; print "<td>E-Mail <br><input type=\"text\" \
name=\"email\" size=50 value=\"$GBEmail\"></td></tr><tr><td>"; print "$hp1<br>";
print "<input type=\"text\" name=\"url\" size=50 \
value=\"http://\"></td></tr><tr><td>"; print "$hptitle<br>";
print "<input type=\"text\" name=\"titel1\" size=50></td></tr><tr><td>";
print "<br>$comment<br><textarea name=\"kommentar\" rows=\"7\" cols=\"50\" \
wrap=physical></textarea><br><br><hr><center>"; print "<input TYPE=\"submit\" \
name=\"action\" VALUE=\"$submit\"></center><br><br>"; ?>
</form></td></tr>
</table>
</p>
<?
if($action == "$submit"){ 
$addname1 = addslashes($name);
$addname = ereg_replace("<[^>]*>", "", $addname1);
$email1 = addslashes($email);
$mail = ereg_replace("<[^>]*>", "", $email1);
$titelok = addslashes($titel1);
$titel = ereg_replace("<[^>]*>", "", $titelok);
$addkommentar = addslashes($kommentar);
$entry = ereg_replace("<[^>]*>", "", $addkommentar);
$eintragquery = "INSERT INTO $userstable
(name,email,url,titel,kommentar,host,zeit) \
VALUES('$addname','$mail','$url','$titel','$entry','$ip','$datum')"; $result = \
MYSQL_QUERY($eintragquery) or die(mysql_error()); if ($sendmail == "yes"){
mail("$mailadress","New Entry in Guestbook",$entry, "From: $email\nX-Mailer: \
MyGuestbook"); }
}
?>



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
End of MIME message


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic