You can retrieve any query string value based on parameter name from the url of current page. Following JavaScript function returns the value for given parameter name. These are raw JavaScript codes, so you don’t need to use jQuery. Continue reading
Monthly Archives: February 2013
Slim : a PHP micro framework
Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
FEATURES
- Powerful router
- Standard and custom HTTP methods
- Route parameters with wildcards and conditions
- Route redirect, halt, and pass
- Route middleware
- Template rendering with custom views
- Flash messages
- Secure cookies with AES-256 encryption
- HTTP caching
- Logging with custom log writers
- Error handling and debugging
- Middleware and hook architecture
- Simple configuration
SYSTEM REQUIREMENTS
PHP 5.3.0 or newer
Guide:PHP Simple Learning Record Store (LRS) With Tin Can API
Script for Self hosted Learning Record Store Supporting Tin Can API
This guide was originally posted at http://www.tincanapi.co.uk/wiki/Guide:PHP_Simple_LRS . Due to an error this site is not accessible now. I collected this guide form a google cached data. I post this content here just for my personal purpose. Now the main author posted his codes on gitHub Project PHPCan
Track Who is Trying to Login into Your WordPress Admin Panel
You may think your website is very new and not much popular. So none can try to hack your WordPress. If you think so then I will tell you are wrong. Form my real experience I know some bad guys are always trying to hack any website. It is a hobby of theme. And some people may hack an website for his benefit. WordPress is an popular and open source CMS. Everybody know the internal codes of an WP site. And it is a nice playground to hacker. Your site is not risk free. Hackers are always trying to hack your site. Continue reading
How To Add or Remove a Class Using Raw JavaScript and jQuery
If you want to dynamically set or remove a CSS class name for a HTML element, then you need to do some javaScript works. We can do this by using raw javaScript. jQuery is also a popular javaScript library. You can use jQuery also. Here I am showing you the both way to add/remove class. Continue reading
