| ¡½ ºô¯¸¤º®eºÞ²z¡Ð×§ï | |
|
15000){
sendback('¹ï¤£°_¡Aºô¶¤º®e¤£¯à¶W¹L15000¦r²Å¡A½Ðªð¦^×§ï');
}
if(strlen($title)>100){
sendback('¹ï¤£°_¡A¼ÐÃD¦WºÙ¤£¯à¶W¹L100¦r²Å¡A½Ðªð¦^×§ï');
}
if($ttype=="html"){
$con=str_replace("\n","",$con);
}else{
$con=str_replace(" ","–R",$con);
$con=str_replace("¡@","–R",$con);
}
//////////////
if ($jpg_size >= 60000) {
sendback("¹ï¤£°_¡A±z¤W¶Çªº¹Ï¤ù¤j©ó60KB¡A³o±N·|¼vÅT«È¤áªºÂsÄý¡C½ÐÀ£ÁY±zªº¹Ï¤ù!");
}
if ($jpg_size != 0) {
$size = GetImageSize($jpg);
if($size[0]>800 || $size[1]>2560){
sendback("¬°¤F±zºô¯¸ªº¬üÆ[¡A¹Ï¤ù¤Ø¤o¤£¯à¶W¹L600*1280¶H¯À¡A½Ð³B²z±zªº¹Ï¤ù!");
}
}
if ($jpg_size != 0) {
$save_directory = "comimg/";
$savefile=$save_directory.$id.".jpg";
copy ($jpg,$savefile);
}
///////////
$msql->query("update auto_con set
title='$title',
con='$con',
ms1='$ms1',
ms2='$ms2',
iftj='$iftj' where id='$id' and userid='$AUTOUSERID'");
?> query("select * from auto_con where userid='$userid' and id='$id'"); if($msql->next_record()){ $title=$msql->f('title'); $ms1=$msql->f('ms1'); $ms2=$msql->f('ms2'); $con=$msql->f('con'); $con=$con." "; if(strstr($con,"<")){ $hc="checked"; }else{ $tc="checked"; } $iftj=$msql->f('iftj'); } ?> |
|