Archives

  • How to install mencoder & mplayer on a dreamhost shared host

    Cribbed from here http://www.netbrix.net/archives/20 a diwer tutorial on getting a Youtube like clone working on Dreamhost it covers installation of ffmpeg-php and flvtools as well, I’ll be looking at these in a later article. wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2 bunzip2 essential-20061022.tar.bz2 tar -xf essential-20061022.tar mv essential-20061022 $HOME/lib wget http://www3.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc1.tar.bz2 bunzip2 MPlayer-1.0rc1.tar.bz2 tar -xf MPlayer-1.0rc1.tar cd MPlayer-1.0rc1 ./configure –prefix=$HOME [...]

    Nov 5th, 2009 | Filed under Misc, PHP
  • When 3rd Party AdTags Get Amended After Quality Assurance

    How often have you received tags through, QA’d them with your tool of choice and then trafficked them only to find out a day or so later that they’ve stopped working or worse are causing usability issues on your site. You are not alone and even better, it’s may not be your fault either. A [...]

    Oct 22nd, 2009 | Filed under AdOps, Development, PHP
  • Creating a 1×1 transparent GIF response in PHP

    <?php //saves ip address and timestamp $str=date(“Y-m-d H:i:s”) . ”: ”. $_SERVER['REMOTE_ADDR'] . ”n”; file_put_contents(“ip_list.txt”, $str, FILE_APPEND); Sourced from: header(“content-type: image/gif”); //43byte 1×1 transparent pixel gif echo base64_decode(“R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==”); ?>

    Oct 15th, 2009 | Filed under Development, PHP
    Tags: , ,
Archive for the ‘PHP’ Category