Have you ever tried to use iframe with google.com or facebook.com? Or any other site and get an error like this? “Display forbidden by X-Frame-Options” or something like this? This happens basically because the remote host’s xframe options not allowing you to get its contents (X-Frame-Options SAMEORIGIN). And here is a simple way to get contents from a remote host ...
Yes, thats right, We can create dynamic images in php too. And no i didn’t invent that or created my own library but GD library does the job for us. Please have a look at following example. <?php header("Content-Type: image/png");//setting the image type $im = @imagecreate(110, 20) or die("Cannot Initialize new GD image stream");//creating the image grid $background_color = imagecolorallocate($im, ...
How to swap two numbers without using temp or third variable is common interview question not just on Java interviews but also on C and C++ interviews. It is also a good programming questions for freshers. This question was asked to me long back and didn’t had any idea about how to approach this question without using temp or third variable, may be ...
Recently we discovered bug in Memcache 1.4.2 version, where when asking for server stats it shows following stats. cmd_get = get_hits but it should be cmd_get = get_hits + get_misses (http://stackoverflow.com/questions/10167864/memcached-parameter-checking) If you also get same stat please upgrade your memcache to 1.4.13 or 1.4.14 (We are not quite sure about this a stat issue or Memcache internal issue but ...
Expansys Samsung Galaxy S4 concept With less than a week until Samsung debuts the Galaxy S4 at its Mobile Unpacked event on March 14 at Radio City Music Hall in New York, rumors about the phone’s features keep flying. Several updates and one exciting new rumored spec stand to make Samsung’s upcoming flagship phone even more tantalizing. The latest development in specs for ...
Apple has extended its lead as the top U.S. smartphone-maker, by grabbing another 3.5% of total market, according to ComScore‘s latest data. The Cupertino, Calif. giant captured a formidable 37.8% of the U.S. market during the three-month average period ending January 2013, leaving its competitors in the dust. (ComScore compares stats from this period to the three-month average period ...