aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wall_upload.php
blob: 769e5dcbcaa51e37b7e87cf61bbef449e3f3bb7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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();

}