When I want to create this program I cant install it give me this error "Installation Incomplite The installer was interrupted before PHP to Asp.Net Migration Assistant could be installed. You need to restart the installer to try again!!!!!!!" I try again
again but i doesnt work please help me this is so important
prasadr7
Member
1 Points
6 Posts
how to Conver the Code from PHP to C#.NET
Feb 17, 2013 11:29 AM|LINK
function sendChat() {
$from = $_SESSION['username'];
$to = $_POST['to'];
$message = $_POST['message'];
$_SESSION['openChatBoxes'][$_POST['to']] = date('Y-m-d H:i:s', time());
$messagesan = sanitize($message);
if (!isset($_SESSION['chatHistory'][$_POST['to']])) {
$_SESSION['chatHistory'][$_POST['to']] = '';
}
$_SESSION['chatHistory'][$_POST['to']] .= <<<EOD
{
"s": "1",
"f": "{$to}",
"m": "{$messagesan}"
},
EOD;
unset($_SESSION['tsChatBoxes'][$_POST['to']]);
$sql = "insert into chat (chat.from,chat.to,message,sent) values ('".mysql_real_escape_string($from)."', '".mysql_real_escape_string($to)."','".mysql_real_escape_string($message)."',NOW())";
$query = mysql_query($sql);
echo "1";
exit(0);
}
Ruchira
All-Star
42975 Points
7025 Posts
MVP
Re: how to Conver the Code from PHP to C#.NET
Feb 17, 2013 01:35 PM|LINK
Hello,
Make use of PHP to ASP.NET Migration Assitant.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.saulyasar
Member
8 Points
4 Posts
Re: how to Conver the Code from PHP to C#.NET
Mar 14, 2013 09:59 AM|LINK
When I want to create this program I cant install it give me this error "Installation Incomplite The installer was interrupted before PHP to Asp.Net Migration Assistant could be installed. You need to restart the installer to try again!!!!!!!" I try again again but i doesnt work please help me this is so important