将asp.net转换为php [英] converting asp.net to php
问题描述
大家好。
i从这个网站上获得了一些关于白板的真实代码
(这里是...... http://www.codeproject.com/文章/ 167763 / Fun-with-HTML5-Canvas-WebSocket-JQuery-and-ASP-NET)
我非常喜欢这个项目所以我选择了它我最后一年的单身汉项目。
因为我正在学习自己的php我想知道如何在php中运行这个项目...我不想在asp.net中运行它。 ...
作者向我们展示了如何在asp.net中运行它:运行白板应用程序
按照以下步骤运行白板应用程序:
下载whiteBoard.zip(在本文顶部下载链接)并解压缩......等等。 />
我知道这篇文章太长了,无法阅读...
******** **** 所有我想知道的是我如何在php中运行这个项目,不管它是什么方式请建议我*************** < br $> b $ b
比ks提前。
Hi everyone.
i got some real AWESOME code from this website regarding white board
(here it is ...http://www.codeproject.com/Articles/167763/Fun-with-HTML5-Canvas-WebSocket-JQuery-and-ASP-NET )
I loved this project so much so that i picked it for my final year bachelor project.
Since i am learning php of my own i want to know how can i run this project in php...i don't want to run it in asp.net....
The author shows us how to run it in asp.net :Running the white board Application
Follow these steps to run the white board application:
Download the whiteBoard.zip (Download link at the top of this article) and extract it......and so on.
I know this post is too long to read...
************All i want to know is how can i run this project in php, whatever the way it is please suggest me***************
Thanks in advance.
推荐答案
你必须将.Net代码改写成php,这将是很多工作(如果可能的话,你不能听一个端口在php中,如果你想使用WebSocket进行双工通信,则需要...)
You have to rewrite the .Net code into php, which will be a lot of work (if even possible as you cannot listen to a port in php, which is needed if you want to use the WebSocket for duplex communication)...
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeFile="adminlogin.aspx.cs" Inherits="adminlogin" %>
<html>
<head id="Head1" runat="server">
<title>Royal Shine a Resort </title>
<!-- for-mobile-apps -->
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //for-mobile-apps -->
<link href="../css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<!-- menu -->
<link href="../css/component.css" rel="stylesheet" type="text/css" />
<!-- //menu -->
<link rel="stylesheet" href="../css/swipebox.css">
<link href="../css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- js -->
<script type="text/javascript" src="../js/jquery-2.1.4.min.js"></script>
<!-- //js -->
<!-- fonts -->
<link href='//fonts.googleapis.com/css?family=Gabriela' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'
rel='stylesheet' type='text/css'>
<!-- //fonts -->
<!-- start-smoth-scrolling -->
<script type="text/javascript" src="../js/move-top.js"></script>
<script type="text/javascript" src="../js/easing.js"></script>
<script type="text/javascript">
jQuery(document).ready(function (
){
这篇关于将asp.net转换为php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!