Php Objective Questions with Answers for written test exams 38

Question 38
A rival has just launched a new version of his shopping cart. Unlike yours—which

only sends plain-text emails—his shopping cart sends out confirmation emails that

look more like a web page.These emails look so much nicer, and he’s starting to

eat into your sales as a result. It’s a good thing his cart only runs on Windows; otherwise,

you’d have no customers left!

Something must be done, and marketing has decided that if you can’t beat them,

join them.Your long-suffering boss has been told to make your shopping cart send

out nice-looking emails too. In the best tradition of pointy-haired bosses, he’s

dumped the whole problem in your lap, and is waiting for you to tell him how

this can be done.

What could you do to make this work? Choose one or more of the following:

A. Change your emails to send text/html MIME-encoded emails.

B. It’s time to ditch mail() again and call sendmail directly.

C. Change your emails to send text/enriched MIME-encoded emails.

D. Tell your boss that this only works

on Windows because PHP on Windows

handles emails very differently.

Answers 38


The correct answers are A and C.

  







Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---