]> git.mxchange.org Git - friendica.git/blob - mod/wall_upload.php
769e5dcbcaa51e37b7e87cf61bbef449e3f3bb7a
[friendica.git] / mod / wall_upload.php
1 <?php
2
3
4 function wall_upload_post(&$a) {
5
6
7  $src      = $_FILES['userfile']['tmp_name'];
8
9
10 unlink($src);
11
12
13         echo "<img src=\"".$a->get_baseurl(). "/images/default-profile.jpg\" alt=\"default\" />";
14         killme();
15
16 }