1.11M Members

Forum works on one server but not the other!

 
0
 

This is code for an internal forum, it works on my local server, but not the godaddy one i just purchased! phpinfo()s posted below:

<?php // forum.php ::  Foro interno del juego.Version 1.0

define('INSIDE' , true);
define('INSTALL' , false);
require_once dirname(__FILE__) .'/common.php';

/*
  Este foro esta basado en el PHPBBs y otros que se le parecen.
  Su estructura es similar.
*/

	


$dpath = (!$user["dpath"]) ? DEFAULT_SKINPATH : $user["dpath"];

//
// Esta funcion permite cambiar el planeta actual.
//



function showthread($forum, $start=0) {

	global $controlrow;
	//old query
    //$query = doquery("SELECT * FROM {{table}} WHERE id='$id' OR parent='$id' ORDER BY id LIMIT $start,15", "forum");
		//$TreathCount = count(mysql_fetch_array($query));
	//new query
	$query = doquery("SELECT * FROM {{table}} WHERE topic_id=$forum ORDER BY `post_time` ASC", "forum_posts");

	$page = "<table width=\"100%\"><tr><td colspan=2 align=right><a href=\"?new=reply&t=$forum\"><img src=\"images/reply.gif\"></a></td></tr>";
	$i=0;$u = 0;
	while ($t = mysql_fetch_array($query)) {
		
		if($i==0){$page .= "<tr><td class=c>User</td><td class=c>Message</td></tr>"; $f=$t['forum_id'];}
		
		$p = doquery("SELECT * FROM {{table}} WHERE post_id='".$t['post_id']."' LIMIT 1", "forum_posts_text",true);
		
		/*
		  pequeña preparacion del texto...
		  solo hay que hacer unos cuantos remplaze, etc...
		*/
		//$p['post_text'] = str_replace(":".$p['bbcode_uid'],'',$p['post_text']);
		//$p['post_text'] = str_replace(":".$p['bbcode_uid'],'',$p['post_text']);
		/*
		$p['post_text'] = str_replace('',"<font color=\"red\">",$p['post_text']);
		$p['post_text'] = str_replace('',"<font color=\"#AFCCFF\">",$p['post_text']);
		$p['post_text'] = str_replace('',"<font color=\"green\">",$p['post_text']);
		$p['post_text'] = str_replace('',"</font>",$p['post_text']);
		$p['post_text'] = str_replace('[img]',"<img src=\"",$p['post_text']);
		$p['post_text'] = str_replace('[/img]',"\">",$p['post_text']);
		$p['post_text'] = str_replace('[i]',"<i>",$p['post_text']);
		$p['post_text'] = str_replace('[/i]',"</i>",$p['post_text']);
		$p['post_text'] = str_replace('[b]',"<b>",$p['post_text']);
		$p['post_text'] = str_replace('[/b]',"</b>",$p['post_text']);
		$p['post_text'] = str_replace('[u]',"<u>",$p['post_text']);
		$p['post_text'] = str_replace('[/u]',"</u>",$p['post_text']);
		$p['post_text'] = str_replace('[list]',"<lu><li>",$p['post_text']);
		$p['post_text'] = str_replace('[/list:u]',"</li></lu>",$p['post_text']);
		$p['post_text'] = str_replace(');
		$p['post_text'] = str_replace('',"</a>",$p['post_text']);
		$p['post_text'] = str_replace('[quote="',"<table style=\"background-color:#4E4F05;\"><tr><td><b>",$p['post_text']);
		$p['post_text'] = str_replace('"]',"</b> dijo:<br><br>",$p['post_text']);
		$p['post_text'] = str_replace('[quote]',"<table style=\"background-color:#607295;\"><tr><td class=l>Cita: <br>",$p['post_text']);
		$p['post_text'] = str_replace('[/quote]',"</td></table>",$p['post_text']);
		$p['post_text'] = str_replace(']',">",$p['post_text']);
		$p['post_text'] = str_replace('[',"<",$p['post_text']);
		*/
		
		//Smiles!
		if($t['enable_smilies'] == 1){	$p['post_text'] = iconnize($p['post_text']);}
		if($u != $t['poster_id'] || $controlrow['flood_avatar']){
		$page .= "<tr><td class=l width=100 valign=top align=left>";
		//}elseif($i==1){$page .= "<tr><td class=l width=100 valign=top align=left>";
		}else{$page .= "<tr><td>";}
		
		if($u != $t['poster_id'] || $controlrow['flood_avatar']){
			//query
			$userquery = doquery("SELECT * FROM {{table}} WHERE id=".$t['poster_id']." LIMIT 1", "users",true);
			$avatar = "<img src=\"".$userquery['avatar']."\" width=100 class=\"avatar\">";
			//nombre de usuario
			$username = "<a href=\"search.php?searchtext=".$userquery['username']."\">".$userquery['username']."</a>";
			//para mostrar el iconito del sexo
			if($userquery['sex'] == 'M'){$username .= " <img src=\"images/male.gif\">";}
			elseif($userquery['sex'] == 'F'){$username .= " <img src=\"images/female.gif\">";}
			
			$page .= "$username<br>";
			$page .= ($userquery['avatar'] != '') ? $avatar : "";
			$page .= "<br>".date("M d Y",$userquery['register_time']);
			
		}
		
		
		
		if($i==1){$page .= "</td><td class=b valign=top align=left>";}else{$page .= "</td><td class=f valign=top align=left>";}
		
		$page .= nl2br($p['post_text'])."</td></tr>";
		
		
		if($i==1){$i=2;}else{$i=1;}
		
		//Esto es para evitar flood, se quita el avatar cuando se responde a si mismo
		$u = $t['poster_id'];
	}
	
	if($i==0){message("El tema no existe","Ver tema", 'forum.php');}
	
	//Agregamos un contador al topic_views del table_forum_topics
	doquery("UPDATE {{table}} SET `topic_views` = `topic_views`+ 1 WHERE `topic_id`=$forum;", "forum_topics");
	
	$page .= "<tr><td class=c colspan=4><a id=last href=?f=$f>Back</a></td></tr></table>";
    display($page, "Forum",true,true,false);
    
}

function reply($topic) {

    global $user;

	if(!$user){message("To reply to a post, you need to log in.","Reply to topic");}

    $topic_id = doquery("SELECT * FROM {{table}} WHERE topic_id=$topic", "forum_topics",true);

	if(!$topic_id){message("The topic does not exist","Posted","forum.php");}
	
    if(isset($_POST["post"])) {
		extract($_POST);
		/*
		  Hacemos la comprobacion
		*/
		$postnumber = doquery("SELECT MAX(post_id) AS post_id FROM {{table}};","forum_posts_text",true);
		$post_id = $postnumber["post_id"] + 1;
		$forum_id = $topic_id['forum_id'];
		//$topicnumber = doquery("SELECT MAX(topic_id) AS topic_id FROM {{table}};","forum_topics",true);
		$topic_id = $topic;
		//Convertimos el texto para que sea seguro durante la query...
		$content = CleanStr($content);
		//este seria el texto
		doquery("INSERT INTO {{table}} SET `post_id`=$post_id, `bbcode_uid`='', `post_subject`='$title', `post_text`=\"$content\";","forum_posts_text");
		//este seria el index
		doquery("INSERT INTO {{table}} SET `post_id`=$post_id, `topic_id`=$topic_id, `forum_id`=$forum_id, `poster_id`=".$user['id'].", `post_time`=".time().", `poster_ip`='be5577eb', `post_username`='', `enable_bbcode`=1, `enable_html`=0, `enable_smilies`=1, `enable_sig`=1, `post_edit_count`=0;","forum_posts");
		//actualiza el topic es el topico
		doquery("UPDATE {{table}} SET `topic_time`=".time().", topic_replies=topic_replies+1, `topic_last_post_id`=$post_id WHERE `topic_id`=$topic_id;","forum_topics");
		
		message("Your reply was added. In a moment you will be redirected.","Nuevo tema","forum.php?t=$topic_id#last");
    }
    $topic_title = $topic_id["topic_title"];
	
	//formulario
	form($page,$topic_title,"forum.php?new=reply&t=$topic");
	display($page, "Forum");
}

function newthread($forum_id) {

    global $user;
	
	if(!$user){message("Para poder crear un tema, necesitas identificarte.","Crear tema");}
	
    $forum_cat = doquery("SELECT * FROM {{table}} WHERE forum_id=$forum_id", "forum_cat",true);
	if(!$forum_cat){message("El foro no existe","Nuevo tema","forum.php");}
	/*
	  Formulario para crear un nuevo tema
	*/
    if(isset($_POST["post"])) {
		extract($_POST);
		/*
		  Hacemos la comprobacion
		*/
		$postnumber = doquery("SELECT MAX(post_id) AS post_id FROM {{table}};","forum_posts_text",true);
		$post_id = $postnumber["post_id"] + 1;
		$topicnumber = doquery("SELECT MAX(topic_id) AS topic_id FROM {{table}};","forum_topics",true);
		$topic_id = $topicnumber["topic_id"] + 1;
		
		//este seria el index
		doquery("INSERT INTO {{table}} SET `post_id`=$post_id, `topic_id`=$topic_id, `forum_id`=$forum_id, `poster_id`=".$user['id'].", `post_time`=".time().", `poster_ip`='be5577eb', `post_username`='', `enable_bbcode`=1, `enable_html`=0, `enable_smilies`=1, `enable_sig`=1, `post_edit_count`=0;","forum_posts");
		//este seria el texto
		doquery("INSERT INTO {{table}} SET `post_id`=$post_id, `bbcode_uid`='', `post_subject`='$title', `post_text`='$content';","forum_posts_text");
		//este es el topico
		doquery("INSERT INTO {{table}} SET `topic_id`=$topic_id, `forum_id`=$forum_id, `topic_title`='$title', `topic_poster`=".$user['id'].", `topic_time`=".time().", topic_first_post_id=$topic_id","forum_topics");
		
		doquery("UPDATE {{table}} SET forum_topics=forum_topics+1, `forum_last_post_id`=$post_id WHERE `forum_id`=$forum_id;","forum_cat");
		message("The new item was added successfully. In a moment you will be redirected.","Posted","forum.php?f=$forum_id");
    }

	
	$page = $forum_cat["forum_name"];
	
	form($page,"New topic - ".$forum_cat['forum_name'],"forum.php?new=thread&f=$forum_id");
	display($page, "Forum");
    
}

function showtopic($forum){
	
	$query_cat = doquery("SELECT forum_name FROM {{table}} WHERE forum_id=$forum", "forum_cat",true);
	$query = doquery("SELECT * FROM {{table}} WHERE forum_id=$forum ORDER BY  `topic_type` DESC, `topic_time` DESC ", "forum_topics");
	//<a href=".PHP_SELF.">Foro</a> -> ".$query_cat['forum_name']."</th>
	$page = "<table width=\"100%\"><tr><td style=\"font-size:14px;\" colspan=5>".$query_cat['forum_name']."</td><td align=right><a href=\"?new=thread&f=$forum\"><img src=\"images/post.gif\"></a></tr>";
	
	$i = 0;
	
	while($t = mysql_fetch_array($query)){
		
		if($i == 0){$page .= "<tr><td class=\"c\" colspan=2 align=center>Topics</td><td class=c align=center>Replies</td><td class=c align=center>User</td><td class=c align=center>Views</td><td class=c align=center>Last Poster</td></tr>";}
		
		//para mostrar el ultimo post
		$query_user = doquery("SELECT username FROM {{table}} WHERE id=".$t['topic_poster'],"users",true);
			
		$lastpost = date("M d, h:m a",$t['topic_time'])."<br>";
		$lastpost .= "<a href=\"search.php?searchtext=".$query_user['username']."\">";
		$lastpost .= $query_user["username"]."</a> <a href=?t=".$t['topic_id']."#last";
		$lastpost .= " title=\"Ver último mensaje\"><img src=\"images/icon_latest_reply.gif\" alt=\">\"></a>";

		$page .= "<tr><th width=20><a href=\"?t=".$t['topic_id']."\">";

		
		//Depende del icono
		if($t['topic_type'] == 0){
		$page .= "<img src=\"images/topicnew.gif\" title=\"Post\">";
		}elseif($t['topic_vote'] == 1){//votacion
		$page .= "<img src=\"images/vote.gif\" title=\"Votaci&oacute;n\">";
		}elseif($t['topic_type'] == 2){//anuncios!
		$page .= "<img width=25 src=\"images/anc.gif\" title=\"Anuncio\">";
		}elseif($t['topic_type'] == 1){//anuncios!
		$page .= "<img src=\"images/topichot.gif\" title=\"PostIt\">";
		}else{$page .= "<img src=\"images/topicnew.gif\" title=\"Post\">";}
		$t["topic_title"] = ($t["topic_title"]=='')?'Sin titulo':$t["topic_title"];
		$page .= "</a></th><th><a href=\"?t=".$t['topic_id']."\">".$t["topic_title"]."</a></th>";
		$page .= "<th align=center>".$t['topic_replies']."</th>";
		$page .= "<th align=center><a href=\"search.php?searchtext=".$query_user['username']."\">";
		$page .= $query_user["username"]."</a></th>";
		$page .= "<th align=center>".$t['topic_views']."</th>";
		$page .= "<th align=center>$lastpost</th>";
		
		$i++;
		//$page .= "</table></td></tr>";
	}
	
	$page .= "<tr><td class=c colspan=6><a href=forum.php>Back</a></td></tr></table></td></tr></table>";

	
    display($page, "Forum",true,true,false);
	/*
	while($t = mysql_fetch_array($query)){
		

		if($user["authlevel"] == 1 && $c["auth_read"] != 0 ){
		$page .= "<tr><td class=c style=\"background-color:#3F0808;\"><img src=\"images/folder.gif\"></td><td style=\"background-color:#3F0808;\"><a href=?topic=".$t['forum_id'].">".$t["topic_title"]."</a><br>";
		$page .= "".$c["forum_desc"]."</td><td style=\"background-color:#3F0808;\"t>Post: ".$t["forum_posts"]."<br>Topics: ".$t["forum_topics"]."</td></tr>";
		
		}*//*
	}
	
	$page .= "<tr><td colspan=4>[<a href=index.php>Back</a>]</td></tr></table></td></tr></table>";

    display($page, "Forum",true,true,false);
*/

}

function showcategories(){
	
	global $user,$lang;

	//el title del foro y head.
	$page = "<table width=\"100%\"><tr><td class=c colspan=5>".$lang['TITLE_GAME']." Forums</td></tr>";
	
	$query_cat = doquery("SELECT * FROM {{table}}", "forum_categories");
	$i = 0;
	while($c_name = mysql_fetch_array($query_cat)){
		
		if($i == 0){ $page .= "<tr><td colspan=2 class=\"c\">Forum</th><td class=\"c\">Topics</td><td class=\"c\">Posts</td><td class=\"c\">Last Poster</td></tr>";}
		$page .= "<tr><th colspan=5>".$c_name["cat_title"]."</th></tr>";
		
		$query = doquery("SELECT * FROM {{table}} WHERE cat_id=".$c_name["cat_id"], "forum_cat");
		
		while($c = mysql_fetch_array($query)){
			
			
			//para mostrar el ultimo post
			if($c['forum_last_post_id'] != 0){
			  //pedimos el post
			  $query_topic = doquery("SELECT `topic_poster`,`topic_title`,`topic_time`,`topic_first_post_id` FROM {{table}} WHERE forum_id=".$c['forum_id']." ORDER BY `topic_time` DESC LIMIT 1", "forum_topics",true);
			  $query_user = doquery("SELECT username FROM {{table}} WHERE id=".$query_topic['topic_poster'],"users",true);
			  
			  
			  /*
			    Texto que va en la parte donde se dice Ultimo mensaje
			  */
			  $query_topic["topic_title"] = ($query_topic["topic_title"]=='')?'Sin titulo':$query_topic["topic_title"];
			  $lastpost = "<a href=\"?t=".$query_topic['topic_first_post_id']."\" title=\"".$query_topic['topic_title']."\">";
			  $lastpost .= substr($query_topic['topic_title'],0,10)." ...</a><br>";
			  $lastpost .= date("M d, h:m a",$query_topic['topic_time']);
			  $lastpost .= "<br><a href=\"search.php?searchtext=".$query_user['username']."\">";
			  $lastpost .= $query_user["username"]."</a>";
			  $lastpost .= " <a href=?t=".$query_topic['topic_first_post_id']."#last title=\"Ver último mensaje\">";
			  $lastpost .= "<img src=\"images/icon_latest_reply.gif\" alt=\">\"></a>";
			  
			  
			}else{$lastpost = "No Topics";}
			
			if($c["auth_read"] == 0 ||($user["authlevel"] == 1 && $c["auth_read"] != 0)){
				$page .= "<tr><td width=20 class=l><a href=?f=".$c['forum_id']."><img src=\"";
				
				//para mostrar que tan nuevo hay post en un tema
				if(isset($c["topic_status"]) && $c["topic_status"] == 0 && $c["forum_topics"] != 0 && $query_topic['topic_time'] >= time() - 60*60*6){
					$page .= "images/new_2.gif";
				}elseif(isset($c["topic_status"]) && $c["topic_status"] == 0){
					$page .= "images/old_2.gif";
				}else{
					$page .= "images/lock.gif";
				}
				
				$page .= "\"></a></td><td class=l><a href=?f=".$c['forum_id'].">".$c["forum_name"]."</a><br>";
				$page .= "".$c["forum_desc"]."</td>";
				$page .= "<td class=l width=50 align=center>".$c["forum_topics"]."</td>";
				$page .= "<td class=l width=50 align=center>".$c["forum_posts"]."</td>";
				$page .= "<td class=l width=110 align=center>$lastpost</td></tr>";
			}
		}
		$i++;
		$page .= "";
	}
	
	$page .= "</td></tr></table>";

    display($page, "Forum");

}

function form(&$page, $title,$dest=''){

	$page .= <<<END
<form  action="$dest" name="post" method=post>
<table width="100%">
  <tr>
    <td colspan=2>$title</td>
  </tr>
  <tr>
    <td width="100%" class="c">Post a reply</td>
  </tr>
  <tr>

    <td width="100%">
      <div align="left">
        <input type=text name=title size=58 maxlength=50 value=Topic />
      </div>
    </td>
  </tr>

    <td>
      <table border="0" cellpadding="2" cellspacing="0" width="100%">
<tbody><tr align="center">

</tr>
<tr>
<td colspan="9">

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td colspan="9">
</td>
</tr>
<tr>
<td colspan="9">
<textarea name="content" rows="15" cols="35" style="width: 100%;" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">
</textarea>
</td>
</tr>
</tbody></table>
    </td>
  </tr>
  <tr>

	<td class=c width="310px" align="center"><input accesskey="s" tabindex="6" name="post" class="mainoption" value="Submit" type="submit"></td>
  </tr>
</table>

</form>
<script>
function emoticon(text) {
	var txtarea = document.post.content;
	text = ' ' + text + ' ';
	if (txtarea.createTextRange && txtarea.caretPos) {
		var caretPos = txtarea.caretPos;
		caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
		txtarea.focus();
	} else {
		txtarea.value  += text;
		txtarea.focus();
	}
}
</script>
END;



}

function CleanStr($str){
  //global $admin;
  $str = trim($str);//擪‚Æ––”ö‚Ì‹ó”’œ‹Ž
  if (get_magic_quotes_gpc()) {//‚ðíœ
    $str = stripslashes($str);
  }
  //if($admin!=ADMIN_PASS){//ŠÇ—ŽÒ‚̓^ƒO‰Â”\
    $str = htmlspecialchars($str);//ƒ^ƒO‚Á‹ÖŽ~
    $str = str_replace("&amp;", "&", $str);//“ÁŽê•¶Žš
  //}
  str_replace("\"", "\&quot;", $str);
  str_replace("\n", "\\n", $str);
  return str_replace(",", ",", $str);//ƒJƒ“ƒ}‚ð•ÏŠ·
}

function iconnize($str){
	global $phpEx;
	//Este archivo contiene la lista de emoticos y demas graficos
	include($ugamela_root_path . 'images/smiles/list.'.$phpEx);
    foreach($array as $a => $b) {
        $str = str_replace($a," <img src=\"$b\" alt=\"$a\">", $str);
    }
    return $str;
}

function smilies(){
	global $phpEx;
	$page = '<a name="top" id="top"></a><script language="javascript" type="text/javascript">
<!--
function emoticon(text) {
	text = \' \' + text + \' \';
	if (opener.document.forms[\'post\'].content.createTextRange && opener.document.forms[\'post\'].content.caretPos) {
		var caretPos = opener.document.forms[\'post\'].content.caretPos;
		caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == \' \' ? text + \' \' : text;
		opener.document.forms[\'post\'].content.focus();
	} else {
	opener.document.forms[\'post\'].content.value  += text;
	opener.document.forms[\'post\'].content.focus();
	}
}
//-->
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="10"><tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td class="c">Emoticons</td>
</tr><tr><th class="c"><table width="100" border="0" cellspacing="0" cellpadding="5">';


	/*
	  Los iconos se leen desde el list.php
	  Ahi se encuentra el catalogo de emoticons
	*/
	include($ugamela_root_path . 'images/smiles/list.'.$phpEx);
	$i = 0;
    foreach($array as $a => $b) {
		if($i==0){$page .= "<tr align=\"center\">\n";}
		$i++;
		$page .= "<td><a href=\"javascript:emoticon('$a')\"><img src=\"$b\" alt=\"$c\" width=\"15\" height=\"15\" border=\"0\" title=\"$c\" /></a></td>\n";
		if($i==8){$i=0;$page .= "</tr>\n";}

    }
	if($i!=0){$page .= "</tr>\n";}

	//Cierra los dos tables
	$page .= "</table>\n</td>\n</tr>\n<tr>\n<td class=\"c\" align=\"center\">";
	$page .= "<a href=\"javascript:window.close();\">Cerrar Ventana</a>\n";
	$page .= "</td>\n</tr>\n</table>\n</td>\n</tr>\n</table>";

	display($page,'Emoticons',false);
die();

}
/*
  Forum!!!
*/
if (isset($f) && isset($new) && is_numeric($f) && $new == "thread"){ newthread($f);}
elseif(isset($t) && isset($new) && is_numeric($t) && $new == "reply"){ reply($t);}
elseif(isset($f) && is_numeric($f)){ showtopic($f);}
elseif(isset($t) && is_numeric($t)){ showthread($t);}
elseif(isset($mode) && $mode == 'smilies'){smilies();}
else { showcategories(); }


// Created by Perberos. All rights reversed (C) 2006
?>

Works on one server, but not the one i just bought with godaddy, with a phpinfo() on both servers i got this:

GODADDY SERVER (Doesnt work)
PHP Version 5.2.17


System Linux p3nlhg627.shr.prod.phx3.secureserver.net 2.6.18-194.32.1.el5PAE #1 SMP Wed Jan 5 18:43:13 EST 2011 i686
Build Date Jan 14 2011 10:42:49
Configure Command './configure' '--enable-fastcgi' '--prefix=/usr/local/php5' '--with-config-file-path=/web/conf' '--disable-posix' '--enable-bcmath' '--enable-calendar' '--with-curl=/usr/bin/curl' '--with-gdbm' '--enable-exif' '--enable-ftp' '--with-gd' '--with-freetype-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/bin/libpng-config' '--enable-gd-native-ttf' '--with-gettext' '--with-mcrypt=/usr/bin/libmcrypt-config' '--with-mhash' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl' '--with-pdo-mysql=/usr' '--with-pspell' '--enable-soap' '--enable-wddx' '--with-xsl' '--with-zlib' '--enable-mbstring' '--enable-zip'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /web/conf
Loaded Configuration File /web/conf/php5.ini
Scan this dir for additional .ini files (none)
additional .ini files parsed (none)
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams https, ftps, compress.zlib, php, file, data, http, ftp, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

Configuration

PHP Core

Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6135 6135
expose_php Off Off
extension_dir ./ ./
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/local/php5/lib/php .:/usr/local/php5/lib/php
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 64M 64M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv Off Off
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir ~ ~
sendmail_from me@localhost.com me@localhost.com
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP relay-hosting.secureserver.net relay-hosting.secureserver.net
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 8M 8M
upload_tmp_dir /tmp /tmp
user_dir no value no value
variables_order GPCS GPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off

bcmath

BCMath support enabled

calendar

Calendar support enabled

cgi-fcgi

Directive Local Value Master Value
cgi.check_shebang_line 1 1
cgi.fix_pathinfo 0 0
cgi.nph 0 0
cgi.rfc2616_headers 0 0
fastcgi.logging 1 1

ctype

ctype functions enabled

curl

cURL support enabled
cURL Information libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

date

date/time support enabled
"Olson" Timezone Database Version 2010.9
Timezone Database internal
Default timezone America/Phoenix

Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone America/Phoenix America/Phoenix

dba

DBA support enabled
Supported handlers gdbm cdb cdb_make inifile flatfile

dom

DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.26
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled

exif

EXIF Support enabled
EXIF Version 1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF

filter

Input Validation and Filtering enabled
Revision $Revision: 298196 $

Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value

ftp

FTP support enabled

gd

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

gettext

GetText Support enabled

hash

hash support enabled
Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

iconv

iconv support enabled
iconv implementation glibc
iconv library version 2.5

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1

json

json support enabled
json version 1.2.1

libxml

libXML support active
libXML Version 2.6.26
libXML streams enabled

mbstring

Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value

mcrypt

mcrypt support enabled
Version 2.5.8
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value

mhash

MHASH support Enabled
MHASH API Version 20020524

mysql

MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.77
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 30 30
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

mysqli

MysqlI Support enabled
Client API library version 5.0.77
Client API header version 5.0.77
MYSQLI_SOCKET /var/lib/mysql/mysql.sock

Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off

openssl

OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 8.02 2010-03-19

Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000

PDO

PDO support enabled
PDO drivers mysql, sqlite, sqlite2

pdo_mysql

PDO Driver for MySQL, client library version 5.0.77

pdo_sqlite

PDO Driver for SQLite 3.x enabled
PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c 293036 2010-01-03 09:23:27Z sebastian $
SQLite Library 3.3.7

pspell

PSpell Support enabled

Reflection

Reflection enabled
Version $Id: php_reflection.c 300129 2010-06-03 00:43:37Z felipe $

session

Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary wddx

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path no value no value
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0

SimpleXML

Simplexml support enabled
Revision $Revision: 299016 $
Schema support enabled

soap

Soap Client enabled
Soap Server enabled

Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400

SPL

SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

SQLite

SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c 298697 2010-04-28 12:10:10Z iliaa $
SQLite Library 2.8.17
SQLite Encoding iso8859

Directive Local Value Master Value
sqlite.assoc_case 0 0

standard

Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ LANG LANG_ PHP_ LANG LANG_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value

tokenizer

Tokenizer Support enabled

wddx

WDDX Support enabled
WDDX Session Serializer enabled

xml

XML Support active
XML Namespace Support active
libxml2 Version 2.6.26

xmlreader

XMLReader enabled

xmlwriter

XMLWriter enabled

xsl

XSL enabled
libxslt Version 1.1.17
libxslt compiled against libxml Version 2.6.26
EXSLT enabled
libexslt Version 1.1.17

zip

Zip enabled
Extension Version $Id: php_zip.c 305848 2010-11-30 11:04:06Z pajoye $
Zip version 1.8.11
Libzip version 0.9.0

zlib

ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value

Additional Modules

Module Name

Environment

Variable Value
TMPDIR /var/chroot/home/content/27/8246527/tmp
PHPRC /var/chroot/home/content/27/8246527/html
TEMP /var/chroot/home/content/27/8246527/tmp
PHP_FCGI_CHILDREN 0
PATH /usr/local/bin:/usr/bin:/bin
PWD /web/cgi-bin
SHLVL 0
RAILS_ENV production
SPI TRUE
TMP /var/chroot/home/content/27/8246527/tmp
PHP_FCGI_MAX_REQUESTS 100000

PHP Variables

Variable Value
_REQUEST["Uwars"] 3/%/claytonclark/%/7e0c7baa3ee9f15baf9354fc6fe7f2fe/%/0
_COOKIE["Uwars"] 3/%/claytonclark/%/7e0c7baa3ee9f15baf9354fc6fe7f2fe/%/0
_SERVER["TMPDIR"] /home/content/27/8246527/tmp
_SERVER["PHPRC"] /var/chroot/home/content/27/8246527/html
_SERVER["TEMP"] /home/content/27/8246527/tmp
_SERVER["PHP_FCGI_CHILDREN"] 0
_SERVER["PATH"] /usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/usr/sbin:/bin:/usr/bin:/opt/dell/srvadmin/bin:/opt/dell/srvadmin/sbin
_SERVER["PWD"] /web/cgi-bin
_SERVER["SHLVL"] 0
_SERVER["RAILS_ENV"] production
_SERVER["SPI"] TRUE
_SERVER["TMP"] /home/content/27/8246527/tmp
_SERVER["PHP_FCGI_MAX_REQUESTS"] 100000
_SERVER["FCGI_ROLE"] RESPONDER
_SERVER["SCRIPT_URL"] /phpinfo.php
_SERVER["SCRIPT_URI"] http://mcids.net/removed
_SERVER["HTTP_HOST"] mcids.net
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
_SERVER["HTTP_ACCEPT"] application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-US
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_COOKIE"] Uwars=3%2F%25%2Fclaytonclark%2F%25%2F7e0c7baa3ee9f15baf9354fc6fe7f2fe%2F%25%2F0
_SERVER["HTTP_CONNECTION"] close
_SERVER["SERVER_SIGNATURE"] <address>Apache Server at mcids.net Port 80</address>
_SERVER["SERVER_SOFTWARE"] Apache
_SERVER["SERVER_NAME"] REMOVED
_SERVER["SERVER_ADDR"] REMOVED
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] REMOVED
_SERVER["DOCUMENT_ROOT"] /var/chroot/home/content/27/8246527/html
_SERVER["SERVER_ADMIN"] support@supportwebsite.com
_SERVER["SCRIPT_FILENAME"] /var/chroot/home/content/27/8246527/html/phpinfo.php
_SERVER["REMOTE_PORT"] 3546
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /phpinfo.php
_SERVER["SCRIPT_NAME"] /phpinfo.php
_SERVER["PHP_SELF"] /phpinfo.php
_SERVER["REQUEST_TIME"] 1313505361


Local server (Forum works on this)


PHP Version 5.2.6


System Windows NT PRETTY-LIWTNW8M 5.1 build 2600
Build Date May 2 2008 18:01:20
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\WINDOWS\php.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

PHP Credits

Configuration

PHP Core

Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6135 6135
expose_php On On
extension_dir C:/AppServ\php5\ext C:/AppServ\php5\ext
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;C:\php5\pear .;C:\php5\pear
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 24M 24M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 80M 80M
precision 12 12
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals On On
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path no value no value
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 200M 200M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off

apache2handler

Apache Version Apache/2.2.8 (Win32) PHP/5.2.6
Apache API Version 20051115
Server Administrator claytonclarkk@gmail.com
Hostname:Port mcids.com:80
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/AppServ/Apache2.2
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_imagemap mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_userdir mod_php5

Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0

Apache Environment

Variable Value
HTTP_HOST mcids.com
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
HTTP_ACCEPT application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_LANGUAGE en-US
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_COOKIE Uwars=2%2F%25%2Ftest%2F%25%2F082069f9d991e7966080826c47510ff3%2F%25%2F0
HTTP_CONNECTION keep-alive
PATH C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\
SystemRoot C:\WINDOWS
COMSPEC C:\WINDOWS\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
WINDIR C:\WINDOWS
SERVER_SIGNATURE <address>Apache/2.2.8 (Win32) PHP/5.2.6 Server at mcids.com Port 80</address>
SERVER_SOFTWARE Apache/2.2.8 (Win32) PHP/5.2.6
SERVER_NAME mcids.com
SERVER_ADDR 192.168.1.104
SERVER_PORT 80
REMOTE_ADDR 192.168.1.1
DOCUMENT_ROOT C:/AppServ/www
SERVER_ADMIN claytonclarkk@gmail.com
SCRIPT_FILENAME C:/AppServ/www/phpinfo.php
REMOTE_PORT 3551
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /phpinfo.php
SCRIPT_NAME /phpinfo.php

HTTP Headers Information

HTTP Request Headers
HTTP Request GET /phpinfo.php HTTP/1.1
Host mcids.com
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language en-US
Accept-Encoding gzip, deflate
Cookie Uwars=2%2F%25%2Ftest%2F%25%2F082069f9d991e7966080826c47510ff3%2F%25%2F0
Connection keep-alive
HTTP Response Headers
X-Powered-By PHP/5.2.6
Keep-Alive timeout=5, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html

bcmath

BCMath support enabled

calendar

Calendar support enabled

com_dotnet

COM support enabled
DCOM support disabled
.Net support enabled

Directive Local Value Master Value
com.allow_dcom 0 0
com.autoregister_casesensitive 1 1
com.autoregister_typelib 0 0
com.autoregister_verbose 0 0
com.code_page no value no value
com.typelib_file no value no value

ctype

ctype functions enabled

curl

cURL support enabled
cURL Information libcurl/7.16.0 OpenSSL/0.9.8g zlib/1.2.3

date

date/time support enabled
"Olson" Timezone Database Version 2008.2
Timezone Database internal
Default timezone America/Chicago

Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value

dom

DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.32
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled

filter

Input Validation and Filtering enabled
Revision $Revision: 1.52.2.42 $

Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value

ftp

FTP support enabled

gd

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

hash

hash support enabled
Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

iconv

iconv support enabled
iconv implementation "libiconv"
iconv library version 1.11

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1

json

json support enabled
json version 1.2.1

libxml

libXML support active
libXML Version 2.6.32
libXML streams enabled

mbstring

Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value

mysql

MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.51a

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

mysqli

MysqlI Support enabled
Client API library version 5.0.51a
Client API header version 5.0.51a
MYSQLI_SOCKET /tmp/mysql.sock

Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off

odbc

ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library Win32

Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.6 2008-01-28

Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000

PDO

PDO support enabled
PDO drivers sqlite, sqlite2

pdo_sqlite

PDO Driver for SQLite 3.x enabled
PECL Module version 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.3 2007/12/31 07:20:10 sebastian Exp $
SQLite Library 3.3.7undefined

Reflection

Reflection enabled
Version $Id: php_reflection.c,v 1.164.2.33.2.50 2008/03/13 15:56:21 iliaa Exp $

session

Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary wddx

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path C:/DOCUME~1/Pretty/LOCALS~1/Temp C:/DOCUME~1/Pretty/LOCALS~1/Temp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0

SimpleXML

Simplexml support enabled
Revision $Revision: 1.151.2.22.2.39 $
Schema support enabled

sockets

Sockets Support enabled

SPL

SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

SQLite

SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.10 2007/12/31 07:20:11 sebastian Exp $
SQLite Library 2.8.17
SQLite Encoding iso8859

Directive Local Value Master Value
sqlite.assoc_case 0 0

standard

Regex Library Bundled library enabled
Dynamic Library Support enabled
Internal Sendmail Support for Windows enabled

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value

tokenizer

Tokenizer Support enabled

wddx

WDDX Support enabled
WDDX Session Serializer enabled

xml

XML Support active
XML Namespace Support active
libxml2 Version 2.6.32

xmlreader

XMLReader enabled

xmlwriter

XMLWriter enabled

zlib

ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value

Additional Modules

Module Name

Environment

Variable Value
ALLUSERSPROFILE C:\Documents and Settings\All Users
asl.log Destination=file
CLASSPATH .;C:\Program Files\QuickTime\QTSystem\QTJava.zip
CommonProgramFiles C:\Program Files\Common Files
COMPUTERNAME PRETTY-LIWTNW8M
ComSpec C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK NO
NUMBER_OF_PROCESSORS 1
OS Windows_NT
Path C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 15 Model 79 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL 15
PROCESSOR_REVISION 4f02
ProgramFiles C:\Program Files
QTJAVA C:\Program Files\QuickTime\QTSystem\QTJava.zip
SystemDrive C:
SystemRoot C:\WINDOWS
TEMP C:\WINDOWS\TEMP
TMP C:\WINDOWS\TEMP
USERPROFILE C:\Documents and Settings\LocalService
windir C:\WINDOWS
AP_PARENT_PID 1744

PHP Variables

Variable Value
PHP_SELF /phpinfo.php
_REQUEST["Uwars"] 2/%/test/%/082069f9d991e7966080826c47510ff3/%/0
_COOKIE["Uwars"] 2/%/test/%/082069f9d991e7966080826c47510ff3/%/0
_SERVER["HTTP_HOST"] mcids.com
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
_SERVER["HTTP_ACCEPT"] application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-US
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_COOKIE"] Uwars=2%2F%25%2Ftest%2F%25%2F082069f9d991e7966080826c47510ff3%2F%25%2F0
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["PATH"] C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\
_SERVER["SystemRoot"] C:\WINDOWS
_SERVER["COMSPEC"] C:\WINDOWS\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_SERVER["WINDIR"] C:\WINDOWS
_SERVER["SERVER_SIGNATURE"] <address>Apache/2.2.8 (Win32) PHP/5.2.6 Server at mcids.com Port 80</address>
_SERVER["SERVER_SOFTWARE"] Apache/2.2.8 (Win32) PHP/5.2.6
_SERVER["SERVER_NAME"] mcids.com
_SERVER["SERVER_ADDR"] 192.168.1.104
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 192.168.1.1
_SERVER["DOCUMENT_ROOT"] C:/AppServ/www
_SERVER["SERVER_ADMIN"] claytonclarkk@gmail.com
_SERVER["SCRIPT_FILENAME"] C:/AppServ/www/phpinfo.php
_SERVER["REMOTE_PORT"] 3551
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /phpinfo.php
_SERVER["SCRIPT_NAME"] /phpinfo.php
_SERVER["PHP_SELF"] /phpinfo.php
_SERVER["REQUEST_TIME"] 1313505373
_SERVER["argv"]
Array
(
)
_SERVER["argc"] 0
_ENV["ALLUSERSPROFILE"] C:\Documents and Settings\All Users
_ENV["asl_log"] Destination=file
_ENV["CLASSPATH"] .;C:\Program Files\QuickTime\QTSystem\QTJava.zip
_ENV["CommonProgramFiles"] C:\Program Files\Common Files
_ENV["COMPUTERNAME"] PRETTY-LIWTNW8M
_ENV["ComSpec"] C:\WINDOWS\system32\cmd.exe
_ENV["FP_NO_HOST_CHECK"] NO
_ENV["NUMBER_OF_PROCESSORS"] 1
_ENV["OS"] Windows_NT
_ENV["Path"] C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\
_ENV["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_ENV["PROCESSOR_ARCHITECTURE"] x86
_ENV["PROCESSOR_IDENTIFIER"] x86 Family 15 Model 79 Stepping 2, AuthenticAMD
_ENV["PROCESSOR_LEVEL"] 15
_ENV["PROCESSOR_REVISION"] 4f02
_ENV["ProgramFiles"] C:\Program Files
_ENV["QTJAVA"] C:\Program Files\QuickTime\QTSystem\QTJava.zip
_ENV["SystemDrive"] C:
_ENV["SystemRoot"] C:\WINDOWS
_ENV["TEMP"] C:\WINDOWS\TEMP
_ENV["TMP"] C:\WINDOWS\TEMP
_ENV["USERPROFILE"] C:\Documents and Settings\LocalService
_ENV["windir"] C:\WINDOWS
_ENV["AP_PARENT_PID"] 1744
-----------------------------------------------------------------------------------------

I think the problem is that one of the functions in the forum script may have been deprecated, but the php version on both servers are close to eachother, I also thought it could possibly be the sql as well.

I appreciate all help!

Thanks

 
0
 

TL;DR but a forum requires a database. Did you create a new database before copying your files? If you did, are you sure your connection info is correct and the database is the same? Did you remember the database names, engines, and keys?

 
0
 

#1 - Please use code tags for code.
#2 - Please post relevant details, like how it is NOT working. I am not going through that wall of text without knowing what I am looking for in general.
#3 - You are not only moving the site from one server to another, but from one server type to another. Your first server, I guess it's your dev server, is your local windows machine. The new server is an actual linux install.

I imagine that the problem lies in the code that was changed to make it work on a windows machine versus a linux server.

 
0
 

How about:

  • Proper code tags (code=php)to make it more understandable
  • A better problem definition. Just saying that it doesn't work isn't much to go on
  • Some effort on your part to identify what is different on the two servers rather than just dumping a bunch of stuff and expecting someone else to figure it out for you.
You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: