1
1
Fork 0
friendica_2019-12_sharedHos.../mod/wall_upload.php
2010-07-22 20:22:03 -07:00

16 lines
No EOL
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();
}