Sometimes it happens that there is a complex website that is can’t be parsed with so called „regular“ cURL + DOM xpath technique. People tend to protect their data with Javascript techniques, nowadays there are pure-Javascript sites popular, and, as you know, one can’t interpret JS using PHP or any other language you’re using for scraping (unless you scrape with nodejs, but I haven’t tried…
Schauen Sie sich unsere neuesten Blogbeiträge an
AWS EC2: how to attach your root volume to another instance
It happens sometimes with an AWS EC2 instance that you made a mistake in network configuration or just your instance is inaccessible via SSH for some other reason. In this case the recommended solution is attaching your root volume of your instance to another one (most likely micro instance – who wants to pay more?) and editing the files on it. Below you can find…
Shopify Quickstart Guide – How to Create Your Own shopify Store in Minutes
Shopify is an e-commerce platform that enables individuals and businesses to create online stores. It started its work in 2006 but now it is great system with expressive functionality. Cataloges, blogs, hundreds of apps, large theme store, access to PayPal and excellent documentation and community for all these things. But it is better to try once then to hear for thousand times. So let us start…
Backup of MySQL database with a PHP script
Sometimes you need to make a mysqldump backup without having SSH access or PHPMyAdmin. It can be done with PHP by means of SHOW TABLES/SHOW CREATE TABLE mysql queries. Below is an improved solution proposed here. Improvements: [list style=“upper-alpha tick“] [list_item]Got rid of memory_limit – writing to file on every iteration[/list_item] [list_item]gzip support – you don’t have to download huge uncompressed .sql[/list_item] [list_item]PHP notice fixed[/list_item]…
Using ZF for uploading PDF to Google Docs API 3.0
Zend Framework has many methods for working with Google Apps Platform in Zend_Gdata module. But has no method for uploading pdf file to new Google Docs API 3.0. So we created simple ZF class for uploading pdf to Google Docs