1 2 3 4
<?php $std = fopen("php://stdin", "r"); echo "TICTACTOE\n\n\n\n"; ...
PHP On Eval encoded file decoder
by techietim,
January 26, 2008 17:29
Is there an example script ...
1 2 3
<?php echo (the_ID() == 8) ? '<div id="menu_show" class="slideshow"><img src="http://example.org/image.gif" alt="A picture" width="748" height="245" /></div>':'<div class="header"></div>'; ?>
PHP On Output div block with PHP c...
by techietim,
December 07, 2007 19:31
This is one way to shorten it
1 2 3 4
<?php echo '<select name="options">'; foreach(array("option1", "option2", "option3") as $i){ ...
1 2 3 4
<?php if(isset($_POST['asdasd'])){ foreach($_POST as $pname => $pvalue){ ...
PHP On making user html input secure
by techietim,
October 13, 2007 00:50
That cleans all of the $_PO...
1 2 3
foreach($_POST as $pname => $pvalue){
$_POST[$pname] = str_replace(array("\\", '\\'), array("\'", '\"'), htmlspecialchars(trim($pvalue)));
}

Just wondering if there are...