/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if($_FILES['logo']['name']!='') { $img_path = $img_dir.'/logo'.$img[1]; update_site_option('rt_blog_thumb', $blog_thumb); } else echo 'Invalid file'; }