friendica/mod/wall_upload.php
2010-07-22 20:22:03 -07:00

16 lines
211 B
PHP

<?php
function wall_upload_post(&$a) {
$src = $_FILES['userfile']['tmp_name'];
unlink($src);
echo "<img src=\"".$a->get_baseurl(). "/images/default-profile.jpg\" alt=\"default\" />";
killme();
}