7 Good Tips for Writing Better CSS

Posted on Jun 26, 2013
Writing your first piece of css code can seem really weird if you're used to working with tables, or just haven't written code before. In this article I want to talk about 7 different ways you can write proper and clean css code as well as streamline the process and ensure you're getting the job done as quickly and efficiently as possible.

PHP: Save Image From URL

Posted on Jun 26, 2013
You can save image from url in PHP you should first get thesource of the image from the URL and after that save image to your Server.

1. Using PHP function file_get_contents()

$contents = file_get_contents('http://mydomain.com/folder/image.jpg');

PHP: XML to CSV

Posted on Jun 25, 2013
To create a CSV file from a XML in PHP 5.0+ it's very easy. We will use the SimpleXML extension that come from PHP 5.0+
SimpleXML reads an entire XML into an object that we can iterate through his properties. To write to the csv output file we will use fputcsv.

fputcsv formats a line as CSV and writes it to the file.

© Twiwoo 2020 Cookie Policy