1
1
Fork 0

first cut at ajax photo upload

This commit is contained in:
Mike Macgirvin 2010-07-22 20:22:03 -07:00
commit 88bfe21bea
9 changed files with 744 additions and 62 deletions

16
mod/wall_upload.php Normal file
View file

@ -0,0 +1,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();
}