January 12, 2013

Session out issue in codeigniter

Session out issue in codeigniter Note: wdwd = websitedesignwebsitedevelopment In fact CI is managing the session with cookies and when you mention your domain in config file so it creates the cookies with that identity. It is already clear that we can have sub-domains as well. So with www. and without www. cookies will have […]

January 1, 2013

Google Map for your web page

Google Map for your web page <script type=”text/javascript” src=”http://maps.google.com/maps/api/js?sensor=false”></script> <script type=”text/javascript”> function load_google_map(lat, long, target) { var myLatlng = new google.maps.LatLng(lat, long); var myOptions = { zoom: 6, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP} var map = new google.maps.Map(document.getElementById(target), myOptions); var marker1 = new google.maps.Marker({ position: new google.maps.LatLng(lat, long), map: map, title: $(‘.locations_address’).html() }); var infowindow = […]