Have an iFrame inside a document and you need to access the iframe data and make decisions based on that data…
Few problems

  1. Same Origin Policy
  2. Frame Load incomplete.

Continue reading ‘jQuery, Accessing Iframe data and the shortcomings of $(document).ready’ »

  • Share/Bookmark

Browsers are designed to think that Images with same name don’t change rapidly so regularly.  This creates a problem in some cases where you have to reuse a  specific name Or a specific location for a system.
Continue reading ‘Image with same path doesn’t show up due to cache in browsers’ »

  • Share/Bookmark
$numbers = array(2,3,4,5,1,8,11,0);
$count = count($numbers);

for($i=1;$i<$count;$i++){
	$j=$i-1;
	$key = $numbers[$i];
	while($j>=0 && $numbers[$j] >  $key){
		$numbers[$j+1] = $numbers[$j];
		$numbers[$j]= $key;
		$j= $j-1;
	}
}
print_r($numbers);
  • Share/Bookmark

OK , so you are all excited about running a 10 minute process and you are happy that
you have set the processing as a background process, while the user can surf along your
website / CMS. If you are are using sessions, not quite smarty !

Continue reading ‘HTTP sessions and background processes on Apache-PHP’ »

  • Share/Bookmark

PING

Ping is a Unix utility that sends ICMP ECHO to the server ( destination machine ) from the client ( originating machine ). It takes its name from a submarine sonar search – you send a short sound burst and listen for an echo – a ping – coming back. There is a myth that Ping is actually an acronym for the words ‘Packet INternet Groper’, but there is no proven evidence to support the statement.


Continue reading ‘The (hidden) power of ‘ping’’ »

  • Share/Bookmark
Page 1 of 41234