Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 262 Bytes
<?php
include_once('common.php');
$data = p('data');
if(empty($data)){
header("HTTP/1.0 400 Bad Request");
echo 'Empty post $data';
}else{
$ucdb->query("UPDATE ".im_tname('settings')." SET web='$data' WHERE uid=$space[uid]");
echo 'ok';
}