The tools
To create the video preview, we need PHP >= 5.1 with the Imagick extension and FFmpeg. FFmpeg supports most of the existing video formats, has a command line interface, and is available under the LGPL license. Continue Reading
Posted on 22 April 2011.
To create the video preview, we need PHP >= 5.1 with the Imagick extension and FFmpeg. FFmpeg supports most of the existing video formats, has a command line interface, and is available under the LGPL license. Continue Reading
Posted in PHP0 Comments
Posted on 21 April 2011.
variable creation into one line
Posted in PHP0 Comments
Posted on 21 April 2011.
Here we have a simple PHP search algorithm that queries a MySQL database and outputs the result. It is a simple alternative to using the FULLTEXT search feature of MySQL.
The script autmatically takes into consideration how many search words are in the search string which is submitted from the HTML search form. It then creates a MySQL query and executes it, displaying the results. You can easily edit the fields that the search script searches by changing the values in the$arrayFields array.
Posted in MySQL, PHP2 Comments
Posted on 18 April 2011.
Solution
Posted in PHP0 Comments
Posted on 17 April 2011.
If you need to parse HTML, regular expressions aren’t the way to go. In this tutorial, you’ll learn how to use an open source, easily learned parser, to read, modify, and spit back out HTML from external sources. Using nettuts as an example, you’ll learn how to get a list of all the articles published on the site and display them.
Posted in PHP0 Comments
Posted on 17 April 2011.
Posted on 17 April 2011.
If you want to check your headers, you can use web based tools like: web-sniffer.net,
web-browser extensions (e.g. LiveHTTPHeaders, ieHTTPHeaders) or another third-party software tool.
Posted in PHP0 Comments
Posted on 14 April 2011.
Posted in PHP0 Comments
Posted on 14 April 2011.
<?php if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) exit(‘No direct access allowed.’);?>
<?php if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) exit('No direct access
allowed.'); ?>
Posted on 07 April 2011.
So what’s the solution? You have to “comment-out” the % that aren’t part of your sprintf() substitution. You can do this by putting another % in front of the ‘%’ symbols in the DATE_FORMAT() function. This deems them as a literal percent-sign instead of the start of another sprintf() “variable”.
Posted in MySQL, PHP0 Comments
Posted on 01 April 2011.
install the PECL uploadprogress library(preferred) or to install APC.
Posted on 30 March 2011.
PHPanywhere is a free web based PHP IDE which enables you to develop and maintain your PHP applications online. It provides you with all the code editing features required to develop PHP applications online. It has a built in real-time syntax code editor with support for all web formats and a powerful FTP explorer. Continue Reading
Posted on 30 March 2011.
Posted in PHP0 Comments
Posted on 28 March 2011.
Social network implementation has become a necessity for successful websites. Joomla!, the popular Open-Source CMS, has some great and affordable ways to bring your site to the social networking level. Let’s review how. Continue Reading
Posted in PHP0 Comments
Posted on 28 March 2011.
Drupal’s popularity has lately been rising. It’s a great platform for setting up content management systems and community driven sites. Here, I’ll give a general overview of Drupal and build a simple site for a fake client. We’ll begin with outlining the client’s needs, installing and configuring a few modules, creating user roles and assigning permissions, and finally we’ll add in some content. We won’t go into theming, as it’s a bit out of the scope of this article. Continue Reading
Posted in PHP0 Comments
