Send E-mail with Attachment using PHP

Here’s a perfectly working snippet of PHP code which will send an e-mail with an attachment (of any file type). This code has been updated to disable jumbled/garbage/corruption which showed up on gmail (while it was fine on Outlook). //File settings $fileatt = “../uploads/myLovelyFile.pdf; $fileatttype = “application/octet-stream”; //Octet-stream is a file type to allow all […]

Add Checkmarks to your Unordered List Items

You have a regular unordered which shows with bullet points just like this: HTML: <ul> <li>Apples</li> <li>Oranges</li> <li>Grapes</li> </ul> Result: Apples Oranges Grapes The bullet points are ugly and the check marks would be so much more relevant. Here’s how to turn the bullet points into checks. First, add a class like checkmark to the […]