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

Search In

How to dynamic generate password in PHP

Hello Reader's If you want to genrate password in PHP then you can use the code as below:- you just have to try this, use strlen instead of count, because count on a string is always 1:- function randomPassword() { $alphabet = 'abcdefghijklmnop

How to set session varible in ZEND Framework

Hello Friends, If you are looking to save/fetch session variable in ZEND Framework. Please use the below code: // DEFINE SESSION VARIABLE $sess = new Zend_Session_Namespace('MyNamespace'); $sess->username = "you_name"; // define your value to sa

How to use Select query in ZEND Framework

Hello Guys, If you are looking to use "Select" mysql query in ZEND Framework. Please use the below code:: $dbObj = Zend_Db_Table::getDefaultAdapter(); $select = $this->select(); $select->from(array('users'),array('count(user_id) as id')); $se

How to disable layout in Zend Framework

Hello Friends, Some time we need to disable layout of our page. No layout mean no header, no footer, no left bar, no right bar. You want to display the main page content part like if you are using AJAX at that time you need to disable layout for thi

How to use Order By in Zend Framework

Hello Friends, If you are looking to use order by clause in Zend Framework. Please use the below code for the same:: $dbObj = Zend_Db_Table::getDefaultAdapter(); $selectObj = $this->select(); $selectObj->from(array('tbl_users'),array('count(u

How to make border with round radius for all the images in website

Hello Reader's you want to make the edges with border and round in shape for all the images in you website then you just need to put CSS3 to update as below:- border:solid 5px #000000; -moz-border-radius: 32px; -webkit-border-radius: 32px; border-ra

How to write custom mysql query in Wordpress

Hello Guys, Some time we need to custom mysql query. If you are looking to write custom mysql query in Wordpress. Please follow the code for the same:: global $wpdb; $sender_name = $wpdb->get_results("SELECT first_name,last_name FROM sender_deta

How to validate IP Address using PHP Filter Extension

Hello readers, In this blog I will guide you "To validate IP Address using PHP Filter Extension". The below code validate your IP Address is valid or not using filter_var() function. <?php $ipAddress = "107.20.120.5"; if (!filter_var(

How to run mysql join in Codelgniter

Hello Friends, If you are looking for mysql join in codelgniter. Please review the code as below: // Initialize select query $this->db->select('*'); $this->db->from('users'); // Define join in last parameter define left join or righ

How to Getting formatted time in python ?

If you want to getting formatted time then we can format any time as per your requirement, but simple method to get time in readable format is asctime() and for example you can see below code− #!/shiva/bin/python import time; localtime = time.asctim

1 111 408
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: