If you were to build a fairly complicated website, and you wanted to add features like instant messaging (one to one and multi-chat like a chat room, and possibly if the site becomes profitable enough, voice/video chatting) and you wanted to be able to store these chat sessions, would it be better to use AJAX or Web Sockets? What would be the pros and cons of each technology? p.s The backend development will be done with python and django. p.p.s An irrelvant question, but what would be the best way to store such communications to reduce redundancy, would you just …

Member Avatar
Member Avatar
+0 forum 1

Hi, After two weeks of not touching my web codings. PHP just gave me tons of surprises. I'm confused. I don't know what happened but I have this page entering a new category: <form name="new_category" action="savenewcategory.php" method="post"> <input type="text" name="category" size="30"><input type="submit" value="Add"> </form> savenewcategory.php <?php $con=mysql_connect("localhost","root"); mysql_select_db("cart0902",$con); $category=$_POST['category']; $sql="insert into tblcategory(category) values('".$category."')"; mysql_query($sql); echo "<script>"; echo " self.location='page_category.php';"; echo "</script>"; ?> and got this when i hit add(on the form) `"; echo " self.location='page_category.php';"; echo ""; ?> ` --- I don't know what happened, a week ago, my shopping cart is perfectly working..and now.. I got this error on …

Member Avatar
Member Avatar
+0 forum 17

The End.