Nyan Cat

Submit Nyan Cat Stuff

Have something to share?
Use the submission form below to submit Nyan Cat stuff. We'll get back to you shortly.


"; $strMessage = "Category: ". $_POST["cbbCategory"] . "

"; $strMessage .= "Message:-
". nl2br($_POST["txtDescription"]) . "

"; $strMessage .= "Credit:-
". nl2br($_POST["txtCredit"]) . "

"; //*** Uniqid Session ***// $strSid = md5(uniqid(time())); $strHeader = ""; $strHeader .= "From: ".$_POST["txtFormName"]."<".$_POST["txtFormEmail"].">\nReply-To: ".$_POST["txtFormEmail"].""; $strHeader .= "MIME-Version: 1.0\n"; $strHeader .= "Content-Type: multipart/mixed; boundary=\"".$strSid."\"\n\n"; $strHeader .= "This is a multi-part message in MIME format.\n"; $strHeader .= "--".$strSid."\n"; $strHeader .= "Content-type: text/html; charset=utf-8\n"; $strHeader .= "Content-Transfer-Encoding: 7bit\n\n"; $strHeader .= $strMessage."\n\n"; //*** Attachment ***// if($_FILES["fileAttach"]["name"] != "") { $strFilesName = $_FILES["fileAttach"]["name"]; $ext = ext($strFilesName); if ($ext == "zip" || $ext == "jpg" || $ext == "gif" || $ext == "png" || $ext == "doc" || $ext == "docx" || $ext == "txt" || $ext == "swf") { $strContent = chunk_split(base64_encode(file_get_contents($_FILES["fileAttach"]["tmp_name"]))); $strHeader .= "--".$strSid."\n"; $strHeader .= "Content-Type: application/octet-stream; name=\"".$strFilesName."\"\n"; $strHeader .= "Content-Transfer-Encoding: base64\n"; $strHeader .= "Content-Disposition: attachment; filename=\"".$strFilesName."\"\n\n"; $strHeader .= $strContent."\n\n"; } } $flgSend = @mail($strTo,$strSubject,null,$strHeader); // @ = No Show Error // $showForm = false; if($flgSend) { echo "Mail send completed."; } else { echo "Cannot send mail."; } } else { $showForm = false; echo "Mail send completed."; //display confirm message to cheat spammer. } } else { $strErrorMsg = "
Error Captcha Code"; } } if ($showForm) { ?>
Title* ">
Category*
Description*
Credit: Author Name, Site & Link*
Form Name* ">
Form Email* ">
Attachment
Enter the code and submit Security Code
* Required fields


Have Fun - and remember to tell your friends about nyan-cat.com!
Share