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

Search In

Different ways to invoke method in ruby

Ruby provide with the following ways by which you can invoke the method based on your requirement : s= "ruby method" 1) Call a public instance method directly p s.length #=> 11 2) Other way is to invoke a method dynamically in ruby is to sen

Prevent SQL-injection in PHP

User can prevent SQL- injection in php by using given 3 ways. Method1. By Using PHP inbuilt Functions. $name = mysql_real_escape_string($_POST["name"]); mysql_query("INSERT INTO users VALUES($name)"); Method 2. By Using MySqli instead of MySQL. M

How to style BuddyPress pages than a regular WordPress page

Hello Readers, Most of the time when you work on the buddyPress, you wanted to style BuddyPress pages differently than a regular WordPress page, you need add a template file named buddypress.php to your theme’s directory and BuddyPress would use tha

How to fix “Headers already sent” error in PHP

Hello Readers! You all got this error many times before and I am sure all PHP programmer at-least once got this error. To solve this error you can solve use solution as per your problem level: Possible Solution 1: You may have left blank spaces be

URL rewriting with PHP using .htaccess

Hello Readers! If you have this URL like : url.com/picture.php?id=51 and you want to make like this : picture.php/Some-text-goes-here/51 . In this case it can be done by using htaccess. Add a file called .htaccess in your root folder, and add so

How to use of join() function in php.?

What is use of join() function.? The join() function returns a string from the elements of an array. The join() function alias of implode() function. Syntax of strtolower() function: join(" ",array) You can see below example of join() function in

md5 function in PHP

The md5 function in PHP is used to hash or encrypt a string by calculating the md5 . The syntax is: md5 ('string', raw) The string here is passed to encrypt the string and the raw is an optional field,which is the format of output.It uses the RS

How to set the useful remarks in Odoo?

In odoo useful remarks have three useful step- 1- Twitter Bootstrap and FontAwesome classes can be used in your report template 2- Local CSS can be put directly in the template 3- Global CSS can be inserted in the main repor

PHP change the maximum upload file size

Option 1 : You need to set the value of upload_max_filesize and post_max_size in your php.ini : ; Maximum allowed size for uploaded files. upload_max_filesize = 40M ; Must be greater than or equal to upload_max_filesize post_max_size = 40M Afte

How to make "Super-admin" password in Odoo/OpenERP ?

Step-1 Configuring Odoo after that we will provide admin_passwd . Step-2 Then use all database management screens (to create, delete, dump or restore databases). Step-3 If the management screens not accessible, then make it accessible from a selected

1 369 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: