Click here to Skip to main content
14,735,210 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everyone.
i got some real AWESOME code from this website regarding white board
(here it is ... )

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

The author shows us how to run it in :Running the white board Application
Follow these steps to run the white board application:
Download the (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.
Updated 22-Oct-17 5:12am

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" %>

<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='//' rel='stylesheet' type='text/css'>
	<link href='//,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 ($) {
			$(".scroll").click(function (event) {
				$('html,body').animate({ scrollTop: $(this.hash).offset().top }, 1000);
	<!-- start-smoth-scrolling -->
	<!-- swipe box js -->
	<script src="../js/jquery.swipebox.min.js"></script>
	<script type="text/javascript">
		jQuery(function ($) {
	<!-- //swipe box js -->
	<link href="../css/animate.css" rel="stylesheet" type="text/css" media="all">
	<script src="../js/wow.min.js"></script>
		new WOW().init();
<body class="cbp-spmenu-push">
	<form id="Form1" runat="server">
	<div class="footer-bot wow fadeInRight animated" data-wow-delay=".5s">
		<div class="container">
			<div class="logo2">
					<a href="../index.html">Royal Shine</a></h2>
			<div class="ftr-menu">
			<br />
			<br />
					<li><a href="../index.html">HOME </a></li>
					<li><a href"about.html">ABOUT</a></li>
					<li><a href"services.html">SERVICES</a></li>
					<li><a href="../gallery.html">GALLERY</a></li>
					<li><a href"contact.html">CONTACT</a></li>
					<br />
					<br /><br />
			<div class="clearfix">
	<!-- Classie - class helper functions by @desandro -->
	<script src="../js/classie.js"></script>
	<!-- banner -->
	<div class="banner ">
		<div class="banner-left page-head">
			<div class="grid__item wow fadeInDown animated" data-wow-delay=".5s">
					<a class="link link--ilin" href="../index.html"><span>Royal </span><span>Shine</span></a></h1>
			<div class="clearfix">
<table align="center" border="0" style="height: 361px; width: 678px"  >
						<td align="right" >
							<font size="2pt"  color="#003366" >Login Name :</font>
						<td align="left" >
							<asp:textbox id="txtLoginName" runat="server"   maxlength="10" 
							<asp:requiredfieldvalidator id="ReqLoginname" runat="server" controltovalidate="txtLoginName"
								display="Dynamic" errormessage="Enter Login Name" setfocusonerror="True" validationgroup="login"
						<td align="right" >
							<font size="2pt"  color="#003366" >Password :</font>
						<td align="left" >
							<asp:textbox id="txtPassword" runat="server"   maxlength="8" 
                                textmode="Password" Width="172px"></asp:textbox>
							<asp:requiredfieldvalidator id="ReqPassword" runat="server" controltovalidate="txtPassword"
								display="Dynamic" errormessage="Enter Password" setfocusonerror="True" validationgroup="login"
						<td align="left" >
						<td align="left" >
							<asp:label id="lblloginmsg" runat="server" forecolor="Red"></asp:label>
						<td align="center" colspan="2" valign="top" >
							<asp:button id="btnSubmit" runat="server" cssclass="button"  onclick="btnSubmit_Click"
								text="Sign in" validationgroup="login" />
 	 <div class="copy-right wow fadeInLeft animated" data-wow-delay=".5s">
		<div class="container">
				© 2016 Royal Shine . </a></p>
	<!-- for bootstrap working -->
	<script src="../js/bootstrap.js"></script>
	<!-- //for bootstrap working -->
	<!-- smooth scrolling -->
	<script type="text/javascript">
		$(document).ready(function () {
			var defaults = {
			containerID: 'toTop', // fading element id
			containerHoverID: 'toTopHover', // fading element hover id
			scrollSpeed: 1200,
			easingType: 'linear' 
			$().UItoTop({ easingType: 'easeOutQuart' });
	<a href="#" id="toTop" style="display: block;"><span id="toTopHover" style="opacity: 1;">
	<!-- //smooth scrolling -->
Richard Deeming 24-Oct-17 15:13pm
FIVE YEARS too late, and you didn't even try to answer the question!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900