In the php.confg if I comment out this line
Code:
AddType application/x-httpd-php .php
I see this: I'll only post a small portion of what I actually get I can't post a link to a SS so here it is
Code:
*** ".LAN_NEWS_3." ***
".LAN_NEWS_4."
"; } if(!is_object($aj)){ $aj = new textparse; } if(e_QUERY){ $tmp = explode(".", e_QUERY); $action = $tmp[0]; $sub_action = $tmp[1]; $id = $tmp[2]; } $from = (!is_numeric($action) || !e_QUERY ? 0 : ($action ? $action : e_QUERY)); if($tmp[1]=='list'){ $action='list'; $from=intval($tmp[0]); $sub_action=intval($tmp[2]); } $ix = new news; if($action == "cat"){ $qs = explode(".", e_QUERY); $category = $qs[1]; if($category != 0){ $gen = new convert; $sql2 = new db; $sql -> db_Select("news_category", "*", "category_id='$category'"); list($category_id, $category_name, $category_icon) = $sql-> db_Fetch(); $category_name = $aj -> tpa($category_name); $category_icon = e_IMAGE."newsicons/".$category_icon; $count = $sql -> db_SELECT("news", "*", "news_category='$category' AND (news_start=0 || news_start < ".time().") AND (news_end=0 || news_end>".time().") ORDER BY news_datestamp DESC"); while($row = $sql-> db_Fetch()){ extract($row); if(check_class($news_class)){ $news_title = $aj -> tpa($news_title); if($news_title == ""){ $news_title = "Untitled"; } $datestamp = $gen->convert_date($news_datestamp, "short"); $comment_total = $sql2 -> db_Count("comments", "(*)", "WHERE comment_item_id='$news_id' AND comment_type='0' "); $text .= " bullet ".$news_title."
".$datestamp.", ".LAN_99.": ". ($news_allow_comments ? COMMENTOFFSTRING : $comment_total)."
\n"; }else{ $count --; } } $text = "
". LAN_307.$count."
But if I uncomment it all I get is a blank page no page source or nothing.
I've followed some of the other threads advice to no avail I can get this
Code:
<html>
<head>
<title>PHP test</title>
</head>
<body>
Hello this is my first php page
<?php echo "and php is working";
phpinfo();
?>
</body>
</html>
as both php and html to run and it does show the php info but the php webpage I want won't. Any ideas?