cannot post tags?
Posted: Thu Nov 04, 2004 10:10 am
I installed WebServ on my w2k machine yesterday (apache2, php, MySQL). I have this problem with updating of database field, i suppose the problem has nothing to do with code, but it's here anyway.
Updating works fine with plain text, but when i try to post HTML-tags to format my text appearance on page, the server throws me this error 403: Forbidden. Is there some setting in php.ini or httpd.conf, that prevents posting of tags?
Code: Select all
<?php
if ((isset($HTTP_POST_VARS["update"])) && ($HTTP_POST_VARS["update"] == "config")) {
$updateSQL = sprintf("UPDATE config SET topic_count='$HTTP_POST_VARS[cnf_topiccount]', etusivu_txt='$HTTP_POST_VARS[cnf_etusivu_txt]'");
mysql_select_db($database_telema_DB, $telema_DB);
$Result1 = mysql_query($updateSQL, $telema_DB) or die(mysql_error());
$GoTo = $link_modconfig;
header(sprintf("Location: %s", $GoTo));
}
?>