SSI Variables DATE_GMT=Sun Mar 8 22:58:56 2009 DATE_LOCAL=Sun Mar 8 15:58:56 2009 DOCUMENT_NAME=FOOTER.html DOCUMENT_ROOT=/root-srv/protected/askapache.com/sec DOCUMENT_URI=/includes/FOOTER.html GATEWAY_INTERFACE=CGI/1.1 HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING=gzip,deflate HTTP_ACCEPT_LANGUAGE=en-us,en;q=0.5 HTTP_CACHE_CONTROL=max-age=0 HTTP_CONNECTION=keep-alive HTTP_COOKIE=__qca=12298910-686528-46510; __utmb=50625.1.0.11311 HTTP_HOST=www.askapache.com HTTP_KEEP_ALIVE=300 HTTP_REFERER=http://www.askapache.com/htaccess/htaccess.html HTTP_USER_AGENT=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729) LAST_MODIFIED=Sun Mar 8 14:53:50 2009 PATH=/bin:/usr/bin:/sbin:/usr/sbin QUERY_STRING= REMOTE_ADDR=24.123.215.60 REMOTE_PORT=4785 REQUEST_METHOD=GET REQUEST_URI=/htaccess/ SCRIPT_FILENAME=/root-srv/protected/askapache.com/sec/includes/FOOTER.html SCRIPT_NAME=/includes/FOOTER.html SCRIPT_URI=http://www.askapache.com/htaccess/ SCRIPT_URL=/htaccess/ …
Category Archives: Programming
FFMPEG Generating splash images
Generating splash images The splash images on the page were configured with FFMPEG tool with following command line argument. ffmpeg -i my_movie.flv -f image2 -s 320×240 my_image.jpg The command is not optimized in any ways. You can play with the tool and send us a better command if you like.
How to Send RSS Feeds to Twitter and Facebook
http://thesocialmediaguide.com.au/2010/04/25/how-to-send-rss-feeds-to-twitter-and-facebook/ http://app.dlvr.it/ http://www.slideshare.net/iglassbox/how-to-send-rss-feeds-to-twitter-and-facebook
You Tube Flash AS3 / AS2 Data & Player API
Recently I have been working on something involving the use of video content from You Tube. With the lack of a good API out there I created my own. Below is a simple example of this working with sample code to download further below.
PHP mail validation function
function valid_email($str) { return ( ! preg_match(“/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix”, $str)) ? FALSE : TRUE; }
Custom Trigger View Recordset Data
For PHP:$_SESSION[‘kt_login_id’] = $tNG->getPrimaryKeyValue(); $_SESSION[‘kt_login_user’] = $tNG->getColumnValue(‘name_usr’); For ASPVBScript:Session(“kt_login_id”) = tNG.getPrimaryKey Session(“kt_login_user”) = tNG.getColumnValue(“name_usr”) SET Trigger_Custom = Nothing For ColdFusion:SESSION.kt_login_id = tNG.getPrimaryKeyValue(); SESSION.kt_login_user = tNG.getColumnValue (“name_usr”);