Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Andron Smith
Sending a modified image through email in php?
I am working on a script that opens an existing image of a form, and fills in the form. I have typed all of the code necessary to write the text in the form. The problem is that I am trying to send the modified image to email. I am using the GD library ImageCreate, ImageCopy and ImageJPEG. But instead of saving an image, the form is to be emailed. here's what I got so far
(code)
$tempname = "forms/temp".mt_rand().".jpg";
$str = imagejpeg($image, $tempname);
$datamsg = chunk_split(base64_encode(file_get_contents($tempname)));
$uid = md5(uniqid(time()));
$message = "Please see attachment for your form";
$emailheader = "From: email@address.com\r\n";
$emailheader .= "Reply-To: email@address.com \r\n";
$emailheader .= "MIME-Version: 1.0\r\n";
$emailheader .= "Content-Type: multipart/mixed; boundary=\"".$uid."\"\r\n";
$emailheader .= "This is a multipart message in Mime-Format\r\n";
$emailheader .= "--" .$uid."\r\n";
$emailheader .= "Content-Type: text/plain;\r\n";
$emailheader .= "Content-Transfer-Encoding: 7bit\r\n";
$emailheader .= $message ."\r\n";
$emailheader .= "--" .$uid."\r\n";
$emailheader .= "Content-Type: Image/JPEG;name=\"jtstemp.jpg\"\r\n";
$emailheader .= "Content-Transfer-Encoding: base64\r\n";
$emailheader .= "Content-Disposition: attachment; Filename=\"jtstemp.jpg\"\r\n";
$emailheader .= $datamsg."\r\n";
(end code)
1 AnswerProgramming & Design4 years agoCan someone tell me the name of this plant/bush?
Can someone give me the name of this plant/bush?
1 AnswerGarden & Landscape4 years agohow can i reactivate my yahoo! website?
I have an expired yahoo! website, I understand that the yahoo! small business is renamed under a new company. i would like to reactivate my domain and utilize that domain again, how can i do so? PS. The website has been cancelled, but when i try to reactivate it, it s telling me the website is registered.
2 AnswersPassword and Sign In5 years agoI understand there are ways to fix a computer across a network or the internet with out having to be there in person.?
I would like to learn more on doing this. I am pretty good network trouble shooting, and repairs. But I do see services offered where folks do repairs from over the internet. Any guides or tutorials on how to do this? I am pretty efficient in Command Prompt infact I am old school DOS. Or do there have to be special software created for this? Mind you I am a developer And I can do programming. But I am just wondering if there s a way to do this using natural of what is there on each windows installation.
3 AnswersProgramming & Design6 years agoIs there a software I can install on a computer, that locks the computer after a certain time frame?
Ok I am a computer tech, just fixed a computer replaced the hard drive and memory, give them a nice installation of windows 8.1 and also installed office 2013. Charged them $75 for the total service. Parts and labor, however they said they only have 35 now and want to give me the other 40 on Monday, I am thinking of working with them, but wondering if I can cover myself by installing something on the computer that locks the computer after a certain time frame or something?
4 AnswersSoftware6 years agois there any benefits to season all salt? in cooking?
Ok forgive me I am no expert at cooking I don't burn my food but I am in the stage of experimenting with different spices. before I used to use tomato paste but for some reason don't always use it now. I am still experimenting. But I have a bottle of complete seasoning just wondering how do expert cooks use it
2 AnswersCooking & Recipes6 years agoWhat do you think is causing this on my website?
Ok this page on my beta site:
http://andronscomputingsolutionsltd.com/beta/packa...
When you select the drop box and select a package, it shows the deals for that package. However when you click it again to change to another package it doesn't respond. This glitch is present on Google Chrome and Firefox, but not internet explorer it works just fine. Any idea of what could be causing this glitch ?
Also I would like a little opinion on the prices of these packages offered are they too high, too little or are they equivalent to industry standard?
1 AnswerProgramming & Design6 years agoHave anyone tried onlineyouthjob and is it legit?
Ok signed up and saw this website called Online Youth job (http://onlineyouthjob.com/?user=40991) I am wondering is this website legit? Did anyone else tried this website and actually got paid for it?
3 AnswersOther - Internet6 years agoWhat are some other sites like textnow.com?
also does anyone else have problem in signing up for new account on that website/
1 AnswerGoogle6 years agoI know this is a rookie question but in mysql what is the difference between inner join and using the where claus?
Ok take Exhibit A:
Select * from users as user, userprofile as profile where user.user_id = profile.user_id;
Now take exhibit B:
Select * from users as user inner join userprofile as profile on user.user_id = profile.user_id;
The two returns exactly the same results. So my question is why do people prefer Exhibit B over Exhibit A? is there really a difference between using the two?
1 AnswerProgramming & Design6 years agoWhere do nokia lumia 625 keeps its gps storage?
1 AnswerCell Phones & Plans6 years agoCould Yami Merrick beat Yami Bakurai if the Egyptian God card isn't involed?
Give your opinion..
1 AnswerCard Games7 years agoWhat you think is the problem with this laptop? Charging issue?
What you think is the problem here? Laptop is plugged in, charging light is on, the windows status is reading "Charging" but instead of going up by 1, it's going down by 1. Tested the charger, nothing wrong with the charger. Tested the battery, nothing wrong with the battery. What you guys think? I'm thinking motherboard. Or maybe a specific section of the motherboard that controls the charging? Laptop is a HP 2000
1 AnswerLaptops & Notebooks7 years agoswimming termites?
Lately I noticed some ants looking insects, at first I said their termites, but they hide in dark areas of the toilet, I blew them into the bowl but they just swim effortlessly to the side of the bowl climb out and went with their business. What is these insects because I'm sure the average termite would try swim but drown,
1 AnswerOther - Home & Garden7 years agoWhat is the Cost of Marketting Research services?
What is the going cost, or rate of marketting Research services? how is it priced?
2 AnswersOther - Advertising & Marketing7 years agoI would like to get into tablet, phones and television repair is it possible?
I currently do computer repairs, laptops and desktops.. I am considering studying tablet and phone repairs. Will it be rough learning that if i'm knowledgeable to computer repairs? Any online resources or e-books you can suggest for me to start with? Also I am considering TV repairs but it looks like its vastly different from what I'm doing now, so i guess any resources on it would be appreciated as well to at least take it into consideration.. thanks.
1 AnswerPDAs & Handhelds7 years ago