PHP
Date: 01/31/06
(Code WTF) Keywords: php
if($_FILES['file1']['name'] == "") { $file1 = "none"; } else { $file1 = "good"; } if($_FILES['file2']['name'] == "") { $file2 = "none"; } else { $file2 = "good"; } if($_FILES['file3']['name'] == "") { $file3 = "none"; } else { $file3 = "good"; } if($_FILES['file4']['name'] == "") { $file4 = "none"; } else { $file4 = "good"; } if($_FILES['file5']['name'] == "") { $file5 = "none"; } else { $file5 = "good"; } if($_FILES['file6']['name'] == "") { $file6 = "none"; } else { $file6 = "good"; } if($_FILES['file7']['name'] == "") { $file7 = "none"; } else { $file7 = "good"; } if($_FILES['file8']['name'] == "") { $file8 = "none"; } else { $file8 = "good"; }
Из реально работающего кода. Там всё такое. http://pixfinity.com/upload_images.phps. Нет слов.
Source: http://community.livejournal.com/code_wtf/25818.html
|