03 Jan, 2011
Jquery drag drop functionality
Articles related to jquery drag drop functionality
http://digitalpbk.com/python/php-sprintf-function-in-python
Sprintf
Function in Python
The printf or sprintf
function is used to format strings in PHP and C programming constructs. sprintf in php returns the formatted string whereas printf just prints the output.
$variable = sprintf("%d %s %d = %d",4,"+",5,9);
print $variable;
//OR
printf("%d %s %d = %d",4,"+",5,9);
//Both lines are identical.
//Prints 4 + 5 = 9
On python, sprintf is handled using an operator instead of
function. The % operator on a string ...
Published 1 year, 10 months ago
http://digitalpbk.blogspot.com/2007/04/xss-on-justdialcom.html
XSS on JustDial.com
JustDial.comSaw the ad a few days back on the TV, so thought could play with it. As expected, they haven't thought/bothered about Cross Site Scripting !Just search for our usual keyword : alert("XSS"); and you can get alerts.The reason for most XSS holes is due to the use of Microsoft's Active Server Pages (ASP). ASP does not have much default
functions or modules to combat XSS. Whereas PHP has a number of
functions to do the same.Happy Hacking ... ...
Published 4 years, 10 months ago
http://digitalpbk.com/php/warning-cannot-modify-header-information-headers-already-sent
Solve "Cannot modify header information - headers already sent by *.php"
Warning: Cannot modify header information - headers already sent by somefile.php (output started at somefile.php:###) in somefile.php on line ###
This Warning is shown by PHP when you use the header
function to output headers or use the setcookie
function to set cookies after any echo or content which is not inside PHP tag.
Hello World !!!
Both should throw this warning.
You can disable ...
Published 1 year, 10 months ago
http://digitalpbk.blogspot.com/2008/02/amvoexe-virus-usb-memory-stick.html
amvo.exe Virus Manual Removal Steps
IntroThis is a nasty virus, dont know who
dropped it on me. It spreads via USB Memory Sticks. It cannot be seen in the process list, hides itself and hides all files. And my antivirus doesn't seem to find a problem! :(Some SymptomsCannot show hidden filesSlows down USB devicesAdds infections to plugged in USB devicesDrives open in new windows from My ComputerHow to get rid off?Step 1 The usual way is to Format the system, but it is not a permanent ...
Published 4 years ago
http://digitalpbk.blogspot.com/2007/11/kbhit-asynchronous-read-linux-fdzero.html
messages. This is impossible using the normal scanf method, because at all times it would be waiting for our input and there would not be any recieved messages in that time period. So the process of receiving information while checking for input is an example of asynchronous reading.How ?On Windows ...On windows the input STDIN can be tested for data by the
function kbhit()defined on conio.h. A simple program template would be#include int main(){ //... while(1) //Main Process loop { //Other Process ...
Published 4 years, 2 months ago
http://digitalpbk.com/hardware/sony-vaio-enable-battery-care-function-improve-battery-life
How to Enable/Disable Battery care
function on Sony Vaio to improve Battery life.
Sony Vaio Battery care
function increases your battery life time and battery back up in the long run by limiting the max capacity of the battery to 80% or 50%. This means the battery would only be charged to 80% in each charge-discharge cycle. The backup would be lower in the beginning, but in the long run average battery backup would be more. Thus the battery capacity is not utilized fully.
Battery life ...
Published 1 year, 9 months ago
http://digitalpbk.blogspot.com/2007/04/xss-on-yaaricom.html
XSS on Yaari.com
Lots of friendship network sites are coming up these days following the success of orkut. Another one supposedly originating from the same stanford university is yaari.com targeted at mainly Indian users. The site looks and
functionality seems fine but is full of XSS holes (Cross Site Scripting). Almost all the fields can be bugged. Only thing that amazes me is that the site has used PHP. PHP has such a wonderful list of
functions that can take care of the XSS problem. I wonder ...
Published 4 years, 9 months ago
http://digitalpbk.blogspot.com/2009/08/facebook-auth-next-parameter-ie.html
.phpfacebook-platform/php/facebook.phpChange the following linespublic
function require_login() { if ($user = $this->get_loggedin_user()) { return $user; } $this->redirect($this->get_login_url(self::current_url(), $this->in_frame())); }to public
function require_login() { if ($user = $this->get_loggedin_user()) { return $user; } $this->redirect($this->get_login_url('', $this->in_frame())); }The change is to remove the next parameter from the $this->get_login_url Call from within require ...
Published 2 years, 5 months ago
http://digitalpbk.blogspot.com/2007/01/get-smart-against-phishing.html
Protect yourselves from phishing
Phishing? Haven't heard that...Phishing is very similar to fishing. In fishing, we put a bait and wait for the fish to catch it. In Phishing, a fraudsters acting as a genuine bank employee or web admin, sents you an email (the bait) asking for confidential and personal data, that could potentially harm you (Its not nice to see your savings balance to
drop to ZERO, right?)Fraudsters are getting smarter and equipping with techniques that almost fool you. So ...
Published 5 years, 1 month ago
http://digitalpbk.blogspot.com/2009/05/curl-php-windows-unable-load-libcurlphp.html
cURL PHP Error on Windows
Fatal error: Call to undefined
function curl_init() in D:/webs/php.php on line 284This problem arises because of not including the lib_curl.dll to PHP. To solve this uncomment the line as shown below;extension=php_bz2.dllextension=php_curl.dll;extension=php_dba.dllNow restart apache server. If you get an error "Unable to Load X:/path/php/ext/php_curl.dll", copy SSLEAY32.PHPlibEAY32.dll (OpenSSL) Libraries to the System32 folder.Now restart apache server ...
Published 2 years, 9 months ago
Related help topics for jquery drag drop functionality
More keywords like jquery drag drop functionality
More pages for jquery drag drop functionality