// author archive

Andy Mathijs

Andy Mathijs has written 9 posts for Mindloop BVBA

dekhengsten databank">is now collaborating with strictlyPHP on the stallionlocator dekhengsten databank

is now collaborating with strictlyPHP on the stallionlocator dekhengsten databank

Mindloop went with the “release early” strategy for the new site.

PHP Logo

Mindloop is trying to use the PHP logo but it’s just way too ugly

FastSlicer.com

FastSlicer.com
FastSlicer.com biedt zijn klanten , voornamelijk designers, aan om photoshop of andere grafische afbeeldingen naar xhtml en css on te vormen.
Mindloop verzorgde het design en uitwerking van hun site.

Mindloop is testing the boundaries of wordpress…

Mindloop is testing the boundaries of wordpress…

Zebra tables

Last week I was checking out the code of an open source project that used 10 lines of code just to generate a “odd” / “even” string to use as the html class for a table row. This is how I do it in one line:

<?php
for($i=0;$i<10;$i++) {
$row = (!isset($row) [...]

Caching an array to disk

I discovered the var_export function in PHP about a year ago. It is able to return a string that represents the passed variable. The returned string is parsable by PHP.
One way to use this function would be to cache an array to a file.
In example:

export.php
<?php
//will write the array to disk
$ar = array(’test’,'testing’);
$content = var_export($ar,true);
file_put_contents(’cache.php’,"<?php\n\$cache=$content;");
?>
 
import.php
<?php
//will output [...]

Htmlpurifier and the CodeIgniter framework

Intro
HtmlPurifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet permissive whitelist, it will also make sure your documents are standards compliant.
Although Codeigniter comes with it’s own XSS filtering method $this->input->xss_clean() I prefer the use of [...]

Mindloop is converting the old site to Wordpress

Mindloop is converting the old site to Wordpress and loving it!