Category Archives: PHP

An FFMPEG Question – Why PHP’s exec() Doesn’t Return the Command Output

string exec (…) Here’s the tricky part. As we know from the exec() man page this function executes the given command. As described there, the exact declaration of this method is: string exec ( string $command [, array &$output [, … Continue reading

Posted in micro tutorial, PHP | Tagged , , , , , , , , , | 5 Comments

Use fopen() to Check File Availability?

Zend Framework and Zend_Http_Client I’ve posted about Zend_Http_Client. Simply there you can ‘make’ your own http client and you can request a remote file. Just to check what’s going on with this file. // new HTTP request to a file … Continue reading

Posted in micro tutorial, PHP, zend framework | Tagged , , , , , , , , | 3 Comments

How to Collect the Images and Meta Tags from a Webpage with PHP

Meta Tags and the Facebook Example You’ve definitely seen the “share a link” screen in Facebook. When you paste a link into the box (fig. 1) and press the “Attach” button you’ll get the prompted cite parsed with a title, … Continue reading

Posted in micro tutorial, PHP, web development | Tagged , , , , , , , , , , , , , , , , , , | 2 Comments

From SVG to Geo Coordinates – A Complete Guide

Why This Task Is Not Trivial? First of all what do we have? There is a vector shape, which may represent a map, which we’d like to convert into a GEO map. In other words there is a SVG file … Continue reading

Posted in micro tutorial, PHP, web development | Tagged , , , , , , , , , , , , , , , | 3 Comments