Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

PHP Objects

I am looking for a good approach to this problem. I wish to build a PHP/MySQL app that maintains configurations in MySQL.  Specifically, there will be projects that each contain a different web screen that includes a background i

Namespaces in C++

A namespace is  used as an additional information to differentiate similar functions, classes, variables etc. with the same name available in different libraries.   Namespaces are used to identify and differentiate the same entities that

How to create users in login form in OpenERp

In OpenERP first create the users and then users is retrieve an active resource of model res_users with the specified login. When users login in web page then verify all the rights and authentication. If users rights and authentication both is fine t

Action Filter in MVC

An action filter is an attribute. You can apply action filter over the entire controller or over its particular action.   Action filters in MVC are the attribute that can be used accroding to the user need before or after the program gets exec

  • 144
How to check whether a number is in range[low,high] using one comparison?

#include <iostream> using namespace std; // Returns true if x is in range [low..high], else false bool inRange(int low, int high, int x) { return ((x-high)*(x-low) <= 0); } int main() { inRange(10, 100, 25)? cout << "Yes\n":

How to push values in array in jQuery?

Sometimes we need to insert valuse in an array, we can do this by using push() method of jQuery very easily. Example     <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <

How to encode string using MD5 in Java?

Generally we need to encode the password in our Applications for security purpose and we can use MD5 for this purpose. Example - In the below method I'm encoding sting by using MD5 import java.security.MessageDigest; import java.security.NoSuc

Google App Engine: How to get Storage Access with the help of a Service Account

First get logged in to a GCE instance via SSH. From there you can access the Storage with the help of a Service Account: Step 1:  Open Command line of google app engine and enter following command.        &nb

.HTACCESS: How to remove second part of url

Currently i have 100+ URLs on my site in this format: http://www.example.in/view_retailer/homepage I want to remove /view_retailer/ from all URLs, so they should look something like this http://www.example.in/homepage In other words I would have

How to disable back button of the browser using javascrpt

There are many cases where we have to disable the back button of the browser. Here, the following code will help you to make your back button disable. HTML: <body onload="disableBackOnLoad(); "> Now the back button is disabled </body>

1 547 949
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: