Latest Posts on Latest 10 blog/video blog posts. Mon, 19 Mar 2018 10:51:24 UTC Latest Posts 223 105 Netflix API 1.0 Wrapper is finally out I was over Netflix and saw that their API had no PHP implementation. So I created this simple application that allows users to access Netflix's API via PHP. [url=]Script URL[/url] [url=]Demo[/url] [url=]Download[/url] Hope you enjoy It :) If none of the APIs work, its probably because I have exceeded by maximum number of connections per day. Aziz Sun, 27 Feb 2011 13:38:07 UTC Pacman like app Its much more simpler than pacman, just going around and eating fruits. Later on I will edit it to actually have enemies to fight. This is my first Flex/Flash game. [[url=]Download[/url]] [[url=]SWF File[/url]] Fri, 31 Dec 2010 19:49:26 UTC Calling Javascript functions from PHP If you have designed websites using jQuery, you might have noticed that you are limited to showing certain sections/parts of your websites with direct URL. This is due to the fact that it is mostly user interaction of clicking, mouseover, etc.. This is a small function that will allow you to call certain Javascript functions passed in the URL parameters. For example, if I would want a user to view the login screen I have on my website, they would visit: [url=][/url] To pass parameters (pipe delimited), use: [url=][/url] [php] <script type="text/javascript"> $(document).ready(function() { // Check for JS by URL // by azizsaleh @ <?php // Check if there is a javascript function if(isset($_GET['js'])) { // set a time out @ 100 milliseconds $js = 'setTimeout("'; $js .= $_GET['js'].'('; // Check for function paramters if(isset($_GET['jsp'])) { // Print variables $jsParamters = explode('|',$_GET['jsp']); for($x=0;$x<count($jsParamters);$x++){ $js .= "'".$jsParamters[$x]."',";} if(strlen($js) > strlen($_GET['js'])+13 ){ $js = substr($js,0,-1);} } $js .= ')",100);'; echo $js; } ?> }); </script> [/php] Sat, 25 Dec 2010 19:40:55 UTC php_ssh2.dll VC6, VC7, VC8, VC9 Just incase anyone needed it. They all are extracted from VC9 but used hex editor to fool PHP to think it was to which it is labeled. I am using it as VC6 and it works great. Thu, 23 Dec 2010 17:33:34 UTC Hijacking, Bypassing, Defeating and Beating the Same Origin Policy The same origin policy was created as a permission scheme for communication of websites on same/different servers using browser side languages, like Javascript. You might have ran into a problem trying to access properties of an Iframe of an external server, for example getting an element by point x & y, which I was trying to achieve when working on the flash click tracker ([url=]link[/url]). I then had to create an entirely new script, but still using virtually the same flash object and a PHP proxy that will allow me to control the iframe object to my needs. In my case, it will allow me to track the link click and get the actual link for processing (in case of advertisement, visiting the link). This is the basic idea I had: [img][/img] You can view an actual demo here (make sure your ad blocker is off) and if it doesn't work refresh. [url=]Demo[/url] [url=]Download[/url] [url=]More Info[/url] Mon, 13 Dec 2010 18:54:27 UTC Flash Link Tracker Using Javascript and Jquery This is a flash object that overlays (using CSS) HTML object, like an iframe/div/span/images/etc. The width and height of the flash object is customizable. The flash object then calls back a javascript function, also customizable, when a click event occurs on that object. The only drawback is that the user must "double click" on the flash object. Since the first click is when the flash object is hidden. [url=]Demo[/url] [url=]Download[/url] Sun, 05 Dec 2010 14:16:21 UTC Key Logger with Save, Email and Registry Save for Auto Load This application allows you to store user input in x milliseconds, store the strokes in a file every x milliseconds, and email that file using SMTP email login and attachment every x milliseconds. You can create a dummy email account to send the information with in the event your application was decoded. This application features another option that allows you to store the executable path in the system registry for automatic program load on system startup. Part 1: [movie]6AVLuJnZdL8[/movie] Part 2: [movie]-gDZzdLmYFY[/movie] Sat, 04 Dec 2010 20:19:37 UTC PHP Object Merge and In Object Functions These are two functions to manipulate PHP objects. The first function is similar to array_merge function in that it merges two objects based on an index. The second function in_object also acts like in_array to which it checks if a certain index exists in an array at a specific value. Hopefully someone finds it helpful. [php] /* Object merge and in Object functions */ function object_merge($objectFrom,$objectTo,$indexUse) { $objectReturn = array(); foreach($objectFrom as $curObject) { $index = in_object($indexUse,$curObject->$indexUse,$objectTo,true); if(is_int($index)) { foreach($objectTo[$index] as $indexName => $indexValue) { $curObject->$indexName = $indexValue; } } $objectReturn[] = (object) $curObject; } return $objectReturn; } function in_object($searchFor,$searchValue,$objectSearch,$returnResult) { foreach($objectSearch as $index => $thisObject) { if($thisObject->$searchFor == $searchValue) { if($returnResult) { return $index; } else { return true; } } } return false; } // Usage $obj1[0] = (object) array('catId' => 1, 'catName' => 'Name'); $obj1[1] = (object) array('catId' => 2, 'catName' => 'Name2'); $obj2[0] = (object) array('catId' => 1, 'catDesc' => 'Desc'); $obj2[1] = (object) array('catId' => 2, 'catDesc' => 'Desc2'); $obj_merged = object_merge($obj1,$obj2,'catId'); print_r($obj_merged); [/php] Wed, 01 Dec 2010 18:15:26 UTC Flash Link Hider This simple, yet fully customizable flash object allows you to hide your links based on a simple coding class I wrote. You can view the flash object by [url=]clicking here[/url]. The link contains sample implementation in PHP and a working demo to see how it works. Thu, 25 Nov 2010 09:40:52 UTC Currency Converter Using Visual Basic This tutorial will show you how to create a currency converter the easy way. It covers downloading website contents (from XE) and using regular expression to match the rates. You can download the source code by [url=]clicking here[/url]. The video is composed of two parts, all uploaded on youtube. Part 1: [movie]OV4qAwSFZcQ[/movie] Part 2: [movie]mmAfXTFefQ8[/movie] Thu, 25 Nov 2010 08:33:29 UTC