Redirecting documents with PHP, Apache, and MOD_REWRITE
In document PHP redirect with HTTP code assignment: header( "HTTP/1.1 301 Moved Permanently" ); header( "Location: http://www.domain.com/new-location/" ); The two lines above will redirect the document request to the /new-location/ page if nothing has been printed to the screen. If this method if attempted after printing something to the screen or flushing the output buffer [...]
Generating a thumbnail image with FFMPEG
If you would like to know how to compress a video for the iPhone or how to quickly use FFMPEG-PHP use this guide: CONVERT VIDEO TO IPHONE FRIENDLY H264 WITH FFMPEG /usr/bin/ffmpeg -y -itsoffset -6 -i "/var/www/html/myvideo.mpg" -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320×240 "/var/www/html/mypic.jpg"; The above will generate a JPEG (Joint Photographic [...]
Codelobster PHP Edition – free PHP IDE
Free PHP, HTML, CSS, JavaScript editor (IDE) – Codelobster PHP Edition For valuable work on creation of sites you need a good comfortable editor necessarily. There are many requiring paid products for this purpose, but we would like to select free of charge very functional and at the same time of simple in the use [...]
Convert video to iPhone friendly H264 with FFMPEG
FFMPEG is a cross-platform solution for recording, converting, and steaming audio and video. There is even a PHP module for gathering media information. It typically cannot be installed by using a yum or apt-get repository though. Many guides exist for installing FFMPEG on multiple platforms. This quick tutorial will be limited to its use on [...]
« go back — keep looking »
