03 Jan, 2011

Jquery drag drop functionality

Articles related to jquery drag drop functionality

PHP file_get_contents giving garbled output

http://digitalpbk.com/php/file_get_contents-garbled-gzip-encoding-website-scraping . ) ); $context = stream_context_create($opts); // Open the file using the HTTP headers set above echo file_get_contents("http://www.example.com", false, $context); This should force the server to send a plain response to your client. Method 2 : Unzipping the contents locally This method is slower but useful if the server forces gzip output. We can use the gzdecode function avaliable from PHP 6.0 or the gzdecode function definition given in gzdecode man page on PHP.net. The code to deflate ...
Published 2 years, 2 months ago

Introduction to Windows - Programming for Windows

http://digitalpbk.blogspot.com/2007/09/windows-and-c-programming.html . A Window can have many child windows, parent window, and many other windows on the same level.Getting Started to Windows Programming in C(++)?A minimal Windows program must have atleast 2 functionsWinMain()WindowFunc()the WinMain() FunctionThe WinMain() function is the entry point to your program, i.e, the execution of your program starts with WinMain().int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpszArgs,int WinMode)The WinMain function must Define a window class ...
Published 4 years, 8 months ago

Making any Window Transparent on XP

http://digitalpbk.blogspot.com/2007/01/making-any-window-transparent-on-xp.html _EX_LAYERED = &H80000;Const GWL_STYLE = (-16)Const WS_VISIBLE = &H10000000;Const LWA_ALPHA = &H2; Private Declare Function WindowFromPoint Lib "user32" (ByVal xPoint As Long, ByVal yPoint As Long) As LongPrivate Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As LongPrivate Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As IntegerPrivate Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long ...
Published 5 years, 4 months ago

How to make more fans on orkut?

http://digitalpbk.blogspot.com/2006/11/how-to-make-more-fans-on-orkut.html src="http://images3.orkut.com/img/ok_0.gif" width="15" height="15">Note the first argument 'FRUS0012345678/US00987654321'. This argument denotes unique code to each user on orkut. Your code is denoted by 'US0012345678' and your friends code is 'US00987654321'. The next argument is used to denote the function.0 is used for the fan function1 is used for the trusty karma2 is used for the cooool karma3 is used for the sexy karmaThe next argument denotes the new value of the karma and the last ...
Published 5 years, 6 months ago

PHP Code Analysis of Bagle Virus

http://digitalpbk.blogspot.com/2009/10/bagle-virus-analysis-php-code.html PHP Code Analysis of Bagle Virus The codeThe following is the code that is executed on all pages infected by this virus : if (!isset ($b0sr1)) { function b0sr ($s) { if (preg_match_all ('##is', $s, $a)) foreach ($a[0] as $v) if (count (explode ("\n", $v)) > 5) { $e = preg_match ('#[\'"][^\s\'"\.,;\?!\[\]:/\(\)]{30,}#', $v) || preg_match ('#[\(\[](\s*\d+,){20,}#', ...
Published 2 years, 7 months ago

Remove Flash Tracking on AddThis module on Drupal 5

http://digitalpbk.com/drupal/remove-flash-tracking-addthis-module-drupal-5 tracking can be disabled. In drupal 5 the tracking can be disabled by adding the following line of code to addthis.module addthis_disable_flash = true; to the function _addthis_create_button so that the function is as shown below function _addthis_create_button($node=NULL, $teaser = FALSE) { global $addthis_counter; $addthis_counter++; if ($addthis_counter == 1) { drupal_add_css((drupal_get_path('module', 'addthis') .'/addthis.css')); drupal_add_js(sprintf(' ...
Published 2 years, 6 months ago

Resolve Net::MySQL Hang problem if the database result has only 1 row or is empty

http://digitalpbk.com/perl/solve-netmysql-hang-problem-if-database-result-has-only-1-row-or-empty . If the result set is having just one row MySQL returns FE 00 00 02 00. The function on Net::MySQL package checks for end of packet and fails to find if the result set has only 1 row. # Line 460 sub _has_next_packet { my $self = shift; return substr($_[0], -5) ne "\xfe\0\0\x22\x00"; } Thus the Perl module loops back and waits for more data from the server, thus the blocking socket call to recv makes the script hang. Solve Net::MySQL Hanging Problem In order to solve this problem use ...
Published 2 years, 1 month ago

Firefox Browser within Browser

http://digitalpbk.blogspot.com/2007/01/firefox-browser-within-browser.html to functionality using JavaScript. To extend the browser, we modify parts of the browser UI by adding or modifying widgets. We add widgets by inserting new XUL DOM elements into the browser window, and modify them by using script and attaching event handlers. Have fun making tabs within tabs within tabs ......Did not work? Did not work ? What happened ? Lemme know ... Feel free to leave a comment ... ...
Published 5 years, 4 months ago

Perl script to remove a directory and contents recursively

http://digitalpbk.com/perl/perl-script-remove-directory-and-contents-recursively Perl script to remove a directory and contents recursively This is the script for sandeep when he asked me how to delete a directory in perl. rmdir function only removes empty directories. So we need to remove the contents of the directory before removing the directory. So if the directory contains more directories / folders we would have to recursively delete all the directories under the directory. Well so here is the code just to do that. #!/usr/bin/perl deldir("test"); ...
Published 2 years, 5 months ago

Timezone: PHP, Shell and Crontab

http://digitalpbk.blogspot.com/2009/05/crontab-server-timezone-php-date.html to set the Timezone in the code written.date_default_timezone_set(Timezone)is the PHP function to set the Timezone in PHP. This can take care of most of the timezone anomalies that can occur in your script when using PHP's Date Function.Timezone is a string, for example for Indian Standard Time it is "Asia/Calcutta", for LA it is "America/Los_Angeles" etc. Checkout PHP Timezone list for a complete list of timezones.ShellIn a shell the date command gives you the localtime ...
Published 2 years, 11 months ago

Related help topics for jquery drag drop functionality More keywords like jquery drag drop functionality
More pages for jquery drag drop functionality


Email Newsletter
Email:
Popular Posts
Recent Posts
Tags
Random photo
Rainbow appearence near Havelock Island Rainbow appearence near Havelock Island in Havelock Island Andaman
On Facebook
Recent Comments


digitalpbk