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

Search In

find and save the records by using cakePHP models

make a controller name Pagescontroller.php and paste the following below code <?php class PagesController extends AppController { public $name = 'Pages'; /* Use Customer model */ public $uses = array('Customer'); public functi

Create Subdomains on the fly using .htaccess file?

If you are creating subdomains using htaccess for this, you have to set the virtual host Follow the below steps. Step 1: Create a wildcard DNS entry first. *.domain.com. 3600 A 127.0.0.1 Step 2: Now Setup the Virtual Host, in your vhost fil

How to join table in cakephp

Most of cakephp developer write custom query to join two table of database but cakephp provides best facility to join more than one two table in single query using association . Let see an Example:- SELECT * FROM `messages` INNER JOIN users ON mess

Detect if an Internet Connection exists in iPhone using (ARC and GCD compatible) class

Hi Readers, Below are steps you need to follow when you are checking if their is an Active Internet connection in an Iphone using (ARC and GCD compatible) class. 1) Add SystemConfiguration framework to the project but don’t worry about including it

Translucent navigation bar

Hello everyone, I was working with navigation bar and found a way so that you could make the status as well as navigation bar transparent, your views could be shown bellow to the navigation bar, by default activity is shown above the navigation bar

Name, Email & Url Validation in PHP

User Name Validation Code: Use below code, to check if the name field only contains alphabet and white space. $name = test_input($_POST["name"]); if (!preg_match("/^[a-zA-Z ]*$/",$name)) { $nameErr = "Only alphabet and white space allowed"; } E-

Query for multiple fields with Laravel 4.x

I have a situation where we have to make query for searching on the basis of multiple fields with Laravel 4.x. So for this we have many method either we will concatenate or we will use OR query in Laravel Example: $searchqueryResult =User::where('

Jquery Screen Object

screen.availHeight: This denotes the available height in the screen, i.e., the height of the user’s screen. Thus, if the screen resolution of the user’s screen is 1366 × 768 pixels and the height of the taskbar is 25 pixels, this property will retur

Install new language package in magento

To create a multilingual ecommerce website we need to add language packages. So I am explaining how to add language pack in magento. We can install the language packs by following these steps - 1) Go to magentocommerce website and search the desire

Getting error for using the session variables used in PHP

<?php session_start(); include_once('config.php'); $user=htmlentities(stripslashes($_POST['username'])); $password=htmlentities(stripslashes($_POST['password'])); // Some query processing on database if(($id_user_fetched<=$id_max_fetched)

1 391 720
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: