<?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
def array_to_params(param_name, params)
  unless params.is_a?(Array)
    result = "&#{param_name}[0]=#{params}"
...

Ruby Generate post query for array

by zealer.livejournal.com, June 01, 2010 11:06, 4 refactorings, tagged with POST, array

I need to post some array u...

167c4580d7b338553023cc575ecc2af7 Talk
javascript:
popw=window.open('','Tarpipe micro-post','width=800,height=150');
popw.focus();
...

JavaScript Tarpipe to twitter, jaiku a...

by griflet, May 31, 2008 00:52, No refactoring, tagged with javascript, bookmarklet, tarpipe, POST

<a href="http://tarpipe.com...

Aae34a7973a8d98e53764a1c89090c55 Talk