Default Routing In Codeigniter

Default Routing In Codeigniter

Blog, PHP, PHP Scripts, Techniques, Web Design & Programming
One of the most common problem that a beginner faces with codeigniter is the presence of index.php in the URL just before the name of the controller. This makes the URL look odd. Also, whenever developers are trying to form a link during the development of a project, it becomes mandatory for the developer to add index.php in the URL otherwise the application does not work and keeps on providing a 404 Error (Not FOund). So, in order to make the URL of the codeigniter user friendly , we can use .htaccess file. This .htaccess file helps us in changing the default routing behavior of Codeigniter. This .htaccess file contains some line of code which can help us achieve our target and it is placed in the root directory of…
Read More

The 7 Step Process For Writing a Blog Post That People Will Actually Read

Internet and Media, News, Techniques
Step #1: Choose a Topic Your Audience Cares About In the past, blogs were mostly used by teenagers to share their inner musings and bad poetry. Since then, blogging has evolved into a valuable tool that businesses use to connect with their audiences and share important information with potential customers. Unfortunately, this transition hasn’t been entirely smooth. Although business blogging has been widely adopted as a marketing practice, the people don’t always know how to select the blog topics that will best serve their business goals. The solution is to write about topics other people care about. Don’t think about what you’d like to read – think about the problems your audience is having and how your blog content can help position your business as the solution. If you don’t know…
Read More

How to add Multiple Google Maps on one page?

Techniques, Tutorials, Web Design & Programming
Here is how you can generate multiple maps on the same page using Google Map API V3. [caption id="attachment_1230" align="aligncenter" width="463"] Multiple-Google-Map[/caption] HTML [code] <div id="map_canvas" style="width:700px; height:500px; margin-left:80px;" ></div> <div id="map_canvas2" style="width:700px; height:500px; margin-left:80px;" ></div> [/code] JavaScript [code] <script type="text/javascript"> var map,map2; function initialize(condition) { // create the map var myOptions = { zoom: 14, center: new google.maps.LatLng(0.0, 0.0), mapTypeId: google.maps.MapTypeId.ROADMAP } map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); map2 = new google.maps.Map(document.getElementById("map_canvas2"), myOptions); } </script> [/code] Conclusion Integrating multiple Google Maps on a single web page can significantly enhance user experience and provide valuable information. By following this step-by-step guide, you can easily create and customize multiple maps using the Google Maps JavaScript API. Whether you're building a travel portal, a location-based directory, or any other project, multiple maps can…
Read More
Google reveals the first low-cost Android One phones

Google reveals the first low-cost Android One phones

Android, APPS, Corporate Profile, Internet and Media, Mobile Applications, News, Techniques
Android One is a reference platform — it’s a set of rules that device makers can follow to make low-cost phones. It makes it easier for manufacturers to develop and produce devices, because Google is doing all of the hard work figuring out materials costs. For Google, it ensures that even low-end devices can run its software and run it well, providing everyone with a uniformly decent experience. Where KitKat was Google’s effort to address the software issues on low-end devices, Android One is now doing the same for hardware. The company calls it a "a comprehensive solution to address the mobile computing needs of those in emerging markets." As predicted, Google has just revealed the first Android One phones at an event in India today. Micromax, Karbonn and Spice…
Read More

Simple HTML5 Charts using the Canvas element

Techniques, Tips, Tutorials
An Easy, object oriented client side graphs for designers and developers This allows you to create rich dashboards that work on all devices without compromising on maintainability or functionality of your web application. Simple and flexible HTML5 Based 6 types of Charts Easy to use HTML5 & JavaScript Charting library built on Canvas element Line Charts Bar Charts Radar Charts Pie Charts Polar Area Charts DoughNut Charts Show your statistic data in different ways. Each of them animated, fully customizable and looks great, even on retina displays. Chart.js uses the HTML5 canvas element. It supports all modern browsers, and polyfills provide support for IE7/8. Chart.js is dependency free, lightweight and offers loads of customization options. Source: http://www.jqueryrain.com/
Read More

Heartbleed bug security alert

Internet and Media, News, Techniques
There's nothing users can do until the web services have made their sites secure. The best advice for web users to wait for few days and then change the passwords on the web services you use. For websites, the fix-it involves installing software patches on computers in their data-centres, then swapping out the confidential software key used to secure messages and transactions. Users will largely need to depend on individual sites to notify them about whether the flaw has been addressed. Many major web services, like Yahoo, have already released such notices. It's a good time to review your passwords in general and any kind of formula that can help you to be protected from these types of bugs. The Heartbleed scare, even if it doesn't turn out to hurt…
Read More

NASA would develop a ‘GitHub for astronauts’

Internet and Media, News, Social Responsibilities, Software Development, Techniques
If you have studied rocket science, NASA would enable you to make your own space craft! From April 10, the US space agency is set to reveal its enormous database highlighting where to find software for more than 1,000 of its projects. "NASA would offer a searchable database of projects," Daniel Lockney, technology transfer program executive at NASA, was quoted as saying in a Daily Mail report. We have collected a large amount of software projects, everything from design tools to robotic control systems, Lockney added. NASA would develop a 'GitHub for astronauts' by hosting the actual software code in its own online repository, which will be found at technology.nasa.gov. The data can be accessed free of copyright, but special clearance would be needed for anyone who wants to access…
Read More

Indo-American Develops Paper Microscope “Foldscope”

Internet and Media, News, Techniques
An Indian-origin scientist has developed an incredibly low-cost microscope made almost entirely out of a very unlikely material - paper. The Foldscope, developed by Manu Prakash from Stanford University, contains three stages - a specimen stage in which the slide is placed, an optics stage that holds a ball lens and an illumination stage that contains an LED light. In order to view the specimen sample, users have to place their eyebrow against the paper with their eye close to the lens, in a fashion similar to the use of a traditional microscope. Magnification and image panning are controlled by the user's thumbs, including sliding to view different parts of the image and using a simple flexing mechanism to control magnification, according to 'The Stanford Daily'. Field testing has revealed…
Read More

Now LinkedIn email addresses exposed

Internet and Media, News, Techniques
The email addresses of LinkedIn users can easily be exposed via a web browser add-on tool, it has been revealed. Sell Hack is available as a free extension to the Chrome browser that, once installed, will pop up a "hack in" button on LinkedIn profiles. Users can then find the email address associated with the account even if they are not connected. LinkedIn said it was taking legal action over the plug-in and advised users to uninstall it. Sell Hack insisted that the the tool was created for marketing professionals and that all data is publicly available. On its website it said: "We just do the heavy lifting and complicated computing to save you time, We aren't doing anything malicious to LinkedIn." But the social network for professionals did not…
Read More

Validate HTML and remove forbidden tags and data

PHP, Techniques, Tutorials
This class might be utilized approve HTML that is XHTML agreeable and uproot tags and information that are not acknowledged. The class can parse the HTML information as a XML record and cross it to confirm if it agrees to a rundown of decides that characterize worthy tags and information. It can erase prohibited and copy tags and characteristics. The prepared record is saved in a class variable. Download Source File
Read More