craigtolputt Posted December 16, 2010 Share Posted December 16, 2010 Hi Guys, Please can someone here help me with a simple browse for an image from the computer and then when the form is submitted it uploads the image and then saves the image url in my DB. my form page is here http://bit.ly/gntCvD Any help will be appreciated. thanks Craig Quote Link to comment Share on other sites More sharing options...
litebearer Posted December 16, 2010 Share Posted December 16, 2010 A nice simple starter tutorial... http://www.tizag.com/phpT/fileupload.php Quote Link to comment Share on other sites More sharing options...
craigtolputt Posted December 16, 2010 Author Share Posted December 16, 2010 Hi, thanks for that but i have tried to implement it with my form and the form saved all the data apart from the image. I didnt get any error message or nothing. Heres my php page <?php include "../connect.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>theSocialDeal | be social and get local deals daily</title> <meta name="description" content="" /> <meta name="keywords" content="" /> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/> <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen"/> <link rel="stylesheet" href="../css/jqtransform.css" type="text/css" media="all" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script> <script src="../js/cufon-yui.js" type="text/javascript"></script> <script src="../js/aachen.font.js" type="text/javascript"></script> <script type="text/javascript"> Cufon.replace('#nav li', { hover: 'true', fontFamily: 'aachen' }); Cufon.replace('h2.title', { hover: 'true', fontFamily: 'aachen' }); Cufon.replace('p.besocial', { hover: 'true', fontFamily: 'aachen' }); Cufon.replace('a.closebtn', { hover: 'true', fontFamily: 'aachen' }); Cufon.replace('h1.whatis', { hover: 'true', fontFamily: 'aachen' }); Cufon.replace('p.headtitle', { hover: 'true', fontFamily: 'aachen' }); Cufon.replace('p.fieldlabel', { hover: 'true', fontFamily: 'aachen' }); </script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script> <script type="text/javascript" src="../js/cookies.js"></script> <script type="text/javascript" src="../js/modalload.js"></script> <script type="text/javascript" src="../js/clickopen.js"></script> <link href="../css/signup.css" rel="stylesheet" type="text/css" /> <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="../css/ie7-signup.css"> <![endif]--> </head> <body> <!-- **** Wrapper **** --> <div id="wrap"> <!-- **** Header **** --> <div id="header" style="height:120px;"> <!-- **** Header **** --> <h1 id="logo" style="margin-top:35px;">theSocialDeal</h1> </div> <!-- **** Header **** --> <!-- **** Navigation **** --> <div id="nav"> <ul> <li><a href="../past_deals.html">past Deals</a></li> <li><a href="../index.html">todays Deal</a></li> <li><a href="../future_deals.html">future Deals</a></li> <li><a href="../how_it_works.html">how it Works</a></li> </ul> <div class="loginLinks"> <div class="simpleLink"><a href="#">Login</a> | <a href="#">Register</a></div> <a href="#" class="fconnect">facebook connect</a> </div> </div> <!-- **** Navigation **** --> <!-- **** Main **** --> <div id="main"> <div class="content_top"></div> <!-- **** Content **** --> <div class="content"> <!-- **** Left **** --> <div id="LeftC"> <h1 class="whatis" style="position:relative; float:left; font-family:Arial, Helvetica, sans-serif; font-size:24px; font-weight:normal; color:#0d243f; margin:10px 0 0 5px;"> Promote your business. </h1> <div style="position:relative; float:left; clear:left; width:640px; margin-left:24px; margin-top:20px;"> <? $error = ''; $imagewarn = ''; $name = ''; $company = ''; $address = ''; $phone = ''; $email = ''; $website = ''; $payable = ''; $title = ''; $value = ''; $price = ''; $minpurchase = ''; $maxpurchase = ''; $allowedvouchers = ''; $highlight1 = ''; $highlight2 = ''; $highlight3 = ''; $highlight4 = ''; $highlight5 = ''; $highlight6 = ''; $highlight7 = ''; $highlight8 = ''; $highlight9 = ''; $highlight10 = ''; $fineprint1 = ''; $fineprint2 = ''; $fineprint3 = ''; $fineprint4 = ''; $fineprint5 = ''; $fineprint6 = ''; $fineprint7 = ''; $fineprint8 = ''; $fineprint9 = ''; $fineprint10 = ''; $description = ''; if(isset($_POST['submitemail'])) { $tableName = "deals"; // Where the file is going to be placed $target_path = "/uploads/"; /* Add the original filename to our target path. Result is "uploads/filename.extension" */ $target_path = $target_path . basename( $_FILES['uploadedfile']['name']); $name = $_POST['name']; $company = $_POST['company']; $address = $_POST['address']; $phone = $_POST['phone']; $email = $_POST['email']; $website = $_POST['website']; $payable = $_POST['payable']; $title = $_POST['title']; $value = $_POST['value']; $price = $_POST['price']; $minpurchase = $_POST['minpurchase']; $maxpurchase = $_POST['maxpurchase']; $allowedvouchers = $_POST['allowedvouchers']; $highlight1 = $_POST['highlight1']; $highlight2 = $_POST['highlight2']; $highlight3 = $_POST['highlight3']; $highlight4 = $_POST['highlight4']; $highlight5 = $_POST['highlight5']; $highlight6 = $_POST['highlight6']; $highlight7 = $_POST['highlight7']; $highlight8 = $_POST['highlight8']; $highlight9 = $_POST['highlight9']; $highlight10 = $_POST['highlight10']; $fineprint1 = $_POST['fineprint1']; $fineprint2 = $_POST['fineprint2']; $fineprint3 = $_POST['fineprint3']; $fineprint4 = $_POST['fineprint4']; $fineprint5 = $_POST['fineprint5']; $fineprint6 = $_POST['fineprint6']; $fineprint7 = $_POST['fineprint7']; $fineprint8 = $_POST['fineprint8']; $fineprint9 = $_POST['fineprint9']; $fineprint10 = $_POST['fineprint10']; $description = $_POST['description']; if(trim($name) == '') { $error = '<div class="error_message">What is your name?</div>'; } else if(trim($company) == '') { $error = '<div class="error_message">Please enter a company name</div>'; } else if(trim($phone) == '') { $error = '<div class="error_message">Please enter a contact telephone number</div>'; } else if(trim($email) == '') { $error = '<div class="error_message">Please enter your email address</div>'; } else if(!isEmail($email)) { $error = '<div class="error_message">Please enter a valid email address</div>'; } else if(trim($payable) == '') { $error = '<div class="error_message">Who should we make cheques payable to?</div>'; } else if(trim($title) == '') { $error = '<div class="error_message">Please enter a title for your deal</div>'; } else if(trim($value) == '') { $error = '<div class="error_message">What is the value of your deal?</div>'; } else if(trim($price) == '') { $error = '<div class="error_message">What is the price of your deal?</div>'; } else if(trim($minpurchase) == '') { $error = '<div class="error_message">What is the minumum amount of purchases allowed?</div>'; } else if(trim($maxpurchase) == '') { $error = '<div class="error_message">What is the maximum amount of purchases allowed?</div>'; } else if(trim($allowedvouchers) == '') { $error = '<div class="error_message">How many vouchers are allowed per person?</div>'; } else if(trim($description) == '') { $error = '<div class="error_message">Please enter a deal description</div>'; } else if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) { $imagewarn = '<div class="refresh_message">Image has been uploaded</div>'; } else { $imagewarn = '<div class="refresh_message">Your deal image has been uploaded</div>'; } if($error == '') { $insert = mysql_query("INSERT INTO $tableName (name,company,address,phone,email,website,payable,title,value,price,minpurchase,maxpurchase,allowedvouchers,highlight1,highlight2,highlight3,highlight4,highlight5,highlight6,highlight7,highlight8,highlight9,highlight10,fineprint1,fineprint2,fineprint3,fineprint4,fineprint5,fineprint6,fineprint7,fineprint8,fineprint9,fineprint10,description) VALUES ('$name','$company','$address','$phone','$email','$website','$payable','$title','$value','$price','$minpurchase','$maxpurchase','$allowedvouchers','$highlight1','$highlight2','$highlight3','$highlight4','$highlight5','$highlight6','$highlight7','$highlight8','$highlight9','$highlight10','$fineprint1','$fineprint2','$fineprint3','$fineprint4','$fineprint5','$fineprint6','$fineprint7','$fineprint8','$fineprint9','$fineprint10','$description')") or die(mysql_error()); $e_subject = 'Thanks for promoting your business'; $headers = "From: info@thesocialdeal.co.uk\r\n"; $headers .= 'Bcc: craig@thesocialdeal.co.uk' . "\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1 "; $headers .= "MIME-Version: 1.0 "; $msg = ""; $msg .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> <tr> <td align=\"center\" valign=\"top\"><br /> <table width=\"670\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> <tr> <td width=\"670\" height=\"20\" align=\"center\" valign=\"top\" bgcolor=\"#d7ebf6\"><img src=\"http://www.thesocialdeal.co.uk/images/email1.gif\" alt=\"\" width=\"670\" height=\"20\" /></td> </tr> <tr> <td align=\"center\" valign=\"top\" bgcolor=\"#d7ebf6\"><br /> <a href=\"http://www.thesocialdeal.co.uk\"><img src=\"http://www.thesocialdeal.co.uk/images/email2.gif\" alt=\"\" width=\"311\" height=\"47\" border=\"0\" /></a><br /> <p style=\"font-family:Arial, Helvetica, sans-serif; font-size:20px; font-weight:bolder; color:#0d243f;\"><br /> Thanks for promoting your business.</p> <p style=\"font-family:Arial, Helvetica, sans-serif; font-size:16px; font-weight:normal; color:#0d243f;\">A member of our team will contact you regarding your deal.<br /> You have submitted the following details:</p> <p style=\"font-family:Arial, Helvetica, sans-serif; font-size:16px; font-weight:bold; color:#0099CC;\"> $name<br /> $company<br /> $address<br /> $phone<br /> $email<br /> $website<br /> $payable<br /> $title<br /> $value<br /> $price<br /> $minpurchase<br /> $maxpurchase<br /> $allowedvouchers<br /> $highlight1<br /> $highlight2<br /> $highlight3<br /> $highlight4<br /> $highlight5<br /> $highlight6<br /> $highlight7<br /> $highlight8<br /> $highlight9<br /> $highlight10<br /> $fineprint1<br /> $fineprint2<br /> $fineprint3<br /> $fineprint4<br /> $fineprint5<br /> $fineprint6<br /> $fineprint7<br /> $fineprint8<br /> $fineprint9<br /> $fineprint10<br /> $description</p> <br /> <p style=\"font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:normal; color:#0d243f;\">In the meantime though:</p> <p style=\"font-family:Arial, Helvetica, sans-serif; font-size:16px; font-weight:normal; color:#0d243f;\"><a href=\"http://www.facebook.com/pages/Tamworth-United-Kingdom/TheSocialDeal/140062476046688\"><img src=\"http://www.thesocialdeal.co.uk/images/email3.gif\" alt=\"\" width=\"149\" height=\"33\" border=\"0\" /></a><br /> <br /> <a href=\"http://www.twitter.com/thesocialdeal\"><img src=\"http://www.thesocialdeal.co.uk/images/email4.gif\" alt=\"\" width=\"149\" height=\"33\" border=\"0\" /></a></p> <br /></td> </tr> <tr> <td width=\"670\" height=\"23\" align=\"center\" valign=\"top\"><a href=\"http://www.thesocialdeal.co.uk\"><img src=\"http://www.thesocialdeal.co.uk/images/email5.gif\" alt=\"\" width=\"670\" height=\"23\" border=\"0\" /></a></td> </tr> </table> <p> </p></td> </tr> </table>"; mail($email, $e_subject, $msg, $headers); // Email has sent successfully, echo a success page. echo "<div id='succsess_page'>"; echo "<h1>Thanks, a member of our team will contact you about your deal.</h1>"; echo "</div>"; } } if(!isset($_POST['submitemail']) || $error != '') // Do not edit. { ?> <? echo $error; ?> <form enctype="multipart/form-data" method="post" action=""> <p class="headtitle">Company Details</p> <p class="fieldlabel">Full Name</p> <input name="name" type="text" id="name" size="30" value="" class="thefield"/> <p class="fieldlabel">Company</p> <input name="company" type="text" id="company" size="30" value="" class="thefield"/> <p class="fieldlabel">Address</p> <textarea name="address" cols="40" rows="3" id="address" class="thefield"></textarea> <p class="fieldlabel">Telephone</p> <input name="phone" type="text" id="phone" size="30" value="" class="thefield"/> <p class="fieldlabel">Email</p> <input name="email" type="text" id="email" size="30" value="" class="thefield"/> <p class="fieldlabel">Website</p> <input name="website" type="text" id="website" size="30" value="" class="thefield"/> <p class="fieldlabel">Cheques Payable to</p> <input name="payable" type="text" id="payable" size="30" value="" class="thefield"/> <p class="headtitle">The Deals Details</p> <p class="fieldlabel">Deal Title</p> <input name="title" type="text" id="title" size="30" value="" class="thefield"/> <p class="fieldlabel">Deal Value</p> <input name="value" type="text" id="value" size="30" value="" class="thefield"/> <p class="fieldlabel">Deal Price</p> <input name="price" type="text" id="price" size="30" value="" class="thefield"/> <p class="fieldlabel">Minimum Purchases</p> <input name="minpurchase" type="text" id="minpurchase" size="30" value="" class="thefield"/> <p class="fieldlabel">Maximum Purchases</p> <input name="maxpurchase" type="text" id="maxpurchase" size="30" value="" class="thefield"/> <p class="fieldlabel">Allowed Vouchers Per Person</p> <input name="allowedvouchers" type="text" id="allowedvouchers" size="30" value="" class="thefield"/> <p class="fieldlabel">Deal Highlights <span style="font-size:12px; color:#0d243f;">(Max 10)</span></p> <input name="highlight1" type="text" id="highlight1" size="30" value="" class="thefield"/> <input name="highlight2" type="text" id="highlight2" size="30" value="" class="thefield"/> <input name="highlight3" type="text" id="highlight3" size="30" value="" class="thefield"/> <input name="highlight4" type="text" id="highlight4" size="30" value="" class="thefield"/> <input name="highlight5" type="text" id="highlight5" size="30" value="" class="thefield"/> <input name="highlight6" type="text" id="highlight6" size="30" value="" class="thefield"/> <input name="highlight7" type="text" id="highlight7" size="30" value="" class="thefield"/> <input name="highlight8" type="text" id="highlight8" size="30" value="" class="thefield"/> <input name="highlight9" type="text" id="highlight9" size="30" value="" class="thefield"/> <input name="highlight10" type="text" id="highlight10" size="30" value="" class="thefield"/> <p class="fieldlabel">The Fine Print <span style="font-size:12px; color:#0d243f;">(Max 10)</span></p> <input name="fineprint1" type="text" id="fineprint1" size="30" value="" class="thefield"/> <input name="fineprint2" type="text" id="fineprint2" size="30" value="" class="thefield"/> <input name="fineprint3" type="text" id="fineprint3" size="30" value="" class="thefield"/> <input name="fineprint4" type="text" id="fineprint4" size="30" value="" class="thefield"/> <input name="fineprint5" type="text" id="fineprint5" size="30" value="" class="thefield"/> <input name="fineprint6" type="text" id="fineprint6" size="30" value="" class="thefield"/> <input name="fineprint7" type="text" id="fineprint7" size="30" value="" class="thefield"/> <input name="fineprint8" type="text" id="fineprint8" size="30" value="" class="thefield"/> <input name="fineprint9" type="text" id="fineprint9" size="30" value="" class="thefield"/> <input name="fineprint10" type="text" id="fineprint10" size="30" value="" class="thefield"/> <p class="fieldlabel">Full Description</p> <textarea name="description" cols="40" rows="3" id="description" class="thefield"></textarea> <p class="fieldlabel">Deal Image</p> <? echo $imagewarn; ?> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> <input type="file" name="image" id="inp" class="thefield"> <input name="submitemail" type="submit" id="submitemail" class="senddeal" value="promote this deal"/> </form> <? } function isEmail($email) { // Email address verification, do not edit. return(preg_match("/^[-_.[:alnum:]]+@((([[:alnum:]]|[[:alnum:]][[:alnum:]-]*[[:alnum:]])\.)+(ad|ae|aero|af|ag|ai|al|am|an|ao|aq|ar|arpa|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|biz|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|com|coop|cr|cs|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|in|info|int|io|iq|ir|is|it|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mil|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|name|nc|ne|net|nf|ng|ni|nl|no|np|nr|nt|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pro|ps|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)$|(([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5])\.){3}([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5]))$/i",$email)); } ?> </div> </div> <!-- **** Left **** --> <!-- **** Right **** --> <div id="RightC"> <a href="#" class="banner"></a> <div class="fbholder"> <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like-box href="http://www.facebook.com/pages/Tamworth-United-Kingdom/TheSocialDeal/140062476046688" width="232"></fb:like-box></div> </div> <!-- **** Right **** --> </div> <!-- **** Content **** --> <div class="content_bottom"></div> </div> <!-- **** Main **** --> </div> <!-- **** Wrapper **** --> <div id="popup_name" class="popup_block"> <a class="close" title="Close this window">Close</a> <h1 class="smlogo">theSocialDeal</h1> <h2 class="title">Who wants to be notified about the best deals in <span>Tamworth</span>?</h2> <iframe name="signup" src="../signupDB.php" width="672" height="77" frameborder="0" scrolling="auto" class="iframe" allowtransparency="true"></iframe> <a href="#" class="closebtn" title="What is theSocialDeal?">What is the<span>Social</span>Deal?</a> <a href="http://www.twitter.com/thesocialdeal" class="smltwitter" title="Follow us on twitter">twitter</a> <a href="http://www.facebook.com/pages/Tamworth-United-Kingdom/TheSocialDeal/140062476046688" class="smlfacebook" title="Become a fan of theSocialDeal">facebook</a> <p class="besocial">be social</p> </div> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-8333979-3']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body> </html> What do you think could be the issue? thanks Craig Quote Link to comment Share on other sites More sharing options...
litebearer Posted December 16, 2010 Share Posted December 16, 2010 Does the form saved all the data apart from the image. mean that (A) the image is NOT in the folder; (B) the image info is NOT in the database Quote Link to comment Share on other sites More sharing options...
Rifts Posted December 16, 2010 Share Posted December 16, 2010 make sure your permissions are set correctly to the folder you are adding the image to on your server Quote Link to comment Share on other sites More sharing options...
craigtolputt Posted December 17, 2010 Author Share Posted December 17, 2010 Hi yes the image is NOT in the folder and the image info is NOT in the database either?? And yes the folder permissions are set to 777 Quote Link to comment Share on other sites More sharing options...
litebearer Posted December 17, 2010 Share Posted December 17, 2010 Time to do a very simple test. Place the following file in the SAME folder as your existing script. then point to it with your browser and try uploading an image (make sure it is a jpg image). Then tell us the result. NOTE: name the file test_upload.php <?php if(isset($_POST['Submit'])){ $current_image=$_FILES['image']['name']; $extension = substr(strrchr($current_image, '.'), 1); if (($extension!= "jpg") && ($extension != "jpeg")){ die('Unknown extension'); } $time = date("fYhis"); $new_image = $time . "." . $extension; $destination="/uploads/".$new_image; $action = copy($_FILES['image']['tmp_name'], $destination); if (!$action){ die('File copy failed'); }else{ echo "File copy successful"; } }else{ ?> <form method="post" enctype="multipart/form-data" action="test_upload.php"> <input type="file" name="image" ><br> <input type="submit" name="Submit" value="submit"> </form> <?php } ?> Quote Link to comment Share on other sites More sharing options...
craigtolputt Posted January 4, 2011 Author Share Posted January 4, 2011 Hi sorry for the delay in doing this, I did what you said and the page refreshed to this... Warning: copy(/uploads/f2011032545.jpg) [function.copy]: failed to open stream: No such file or directory in /home/thesoc11/public_html/thesocialdeal.co.uk/test_upload.php on line 11 File copy failed Quote Link to comment Share on other sites More sharing options...
litebearer Posted January 4, 2011 Share Posted January 4, 2011 You may have the path set improperly. try changing this line... $destination="/uploads/".$new_image; to this... $destination="uploads/".$new_image; Quote Link to comment Share on other sites More sharing options...
craigtolputt Posted January 5, 2011 Author Share Posted January 5, 2011 Thanks, that seems to work now. So how could i implement that with my form so that it also saves the destination url of the image in my DB? Quote Link to comment Share on other sites More sharing options...
litebearer Posted January 5, 2011 Share Posted January 5, 2011 woking with urls to files is dependent upon whether or not you will be moving the location of your scripts and/or the files to be found by the url. in your example, if you will NOT be changing the location of your files (script as well as images) then you could save the value of $destination to your db. For my personal use, I keep full images in the images/ folder and thumbs in the thumbs/ folder. those folders are beneath the folder that holds my scripts. That way I only need to store one name in the db without paths. (the thumb and full image have the same same since they are in separate folders.) When I want to display an image I simply grab the image name from the db and either prefix it with thumbs/ or images/. Make sense? Quote Link to comment Share on other sites More sharing options...
craigtolputt Posted January 6, 2011 Author Share Posted January 6, 2011 Quality! Thanks alot for your help i have integrated this now with my form and everything is saving and inserting correctly. cheers all... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.