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

Search In

How to halt image uploading in Dropbox.js

If you are using Dropbox.js for file uploading and wants to upload some specific extension type like csv, xls etc. Please follow the below code:: Dropzone.options.uploadcontact = { maxFilesize: 10, // Mb acceptedFiles: ".xls,.xlsx,.csv", //

How to create log file in PHP

If you want to debug a large amount of data. You need to create a Log file with the following piece of code. $file = fopen ( "testfile.txt" , "a+" ); fwrite ( $file , serialize ( print_r ( $_POST , true ) ) ); fopen(): It is inbuilt function which

How to Add Styles in odoo-9

In odoo-9 first we have to install odoo website builder module after this, lets first create an empty file and named it style.less and place it in a folder called less in static folder. The following rules will style our Ser

How to capture screenshot in Appium ?

There are many times when we run our testcases there might be the possibility that testcases may fail and when the testcase may fail then the screenshot of the screen should be captured. We should use the following code to capture the screenshot: Sy

How to use mysql join in Zend Framework

Hello Guys, If you are looking to use MYSQL join in zend framework. Please use the below code for the same: $dbObj = Zend_Db_Table::getDefaultAdapter(); $selectQuery = $this->select(); $selectQuery->setIntegrityCheck(false); $selectQuery->

How to use "Where clause with multiple attributes" in ZEND Framework

Hello guys if you are looking to use where clause with multiple attribute in ZEND Framework. Please use the below code for the same:: $databaseObj = Zend_Db_Table::getDefaultAdapter(); $selectQuery = $this->select(); $selectQuery->from(array('

How to use BREADCRUMB in Zend Framework

Hello Guys, If you are looking to set Breadcrumb in zend framework. Please follow the below code for the same:: 1)Open your controller file and function in which you want to add breadcrumb. /* BreadCrumb starts Here */ $breadcrumbArray = Array("Ho

How to make combinations by elements of array using PHP

Hello Reader's If you want to get all elements in the combinations then you can use PHP code to generate it. Lets see the example as below:- function pc_permute($items, $perms = array()) { if (empty($items)) { echo join(' ', $perms) . "

How to convert string to binary and binary to string using PHP

Hello Readers if you want to convert your string into binary using PHP then you can use the code syntax as below:- $value = unpack('H*', "This string is converting into binary"); echo base_convert($value[1], 16, 2); Output:- 010100110111010001100

How to superimpose one image over another using PHP

Hello Readers if you have two images i.e. one png and one jpg, Then by using PHP you can merge both on a single one. Lets see the example as given below:- <?php # If you don't know the type of image you are using as your originals. $image = im

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