JavaScript On Prevent Default not working.

by Anri, August 19, 2010 16:55

Hey Jacboc, I tested this i...

4058d6b5dc2bfd92fd7f7f9a13eb61a6 Talk
<script type="text/javascript">
	document.onkeyup = KeyCheck;       
	function KeyCheck(e){
...

JavaScript Prevent Default not working.

by Anri, August 19, 2010 16:03, 3 refactorings, tagged with javascript

I am attempting to add Prev...

4058d6b5dc2bfd92fd7f7f9a13eb61a6 Talk
<?php
$text = mysql_real_escape_string($_POST['text']);
$query = sprintf("INSERT INTO $table (`user_id`, `post_text`) VALUES ($d, $s);",$user_id,$text);
...

PHP On Sanitizing a submitted Foru...

by Anri, August 10, 2010 20:28

@NullUserException

Is ther...

4058d6b5dc2bfd92fd7f7f9a13eb61a6 Talk
<?php

$text = htmlentities($_POST['text']);
...

PHP Sanitizing a submitted Foru...

by Anri, August 10, 2010 19:21, 49 refactorings, tagged with php, POST, sanitize, forum

Lets say I am building a fo...

4058d6b5dc2bfd92fd7f7f9a13eb61a6 Talk