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

Search In

How to detect web browser of user using PHP

Hello Reader! If you are developing the website which depends on user's web browser then you must first find out the web browser that is opened. By using PHP you can get easily this info using the library code below:- <?php function detect_web_b

How to use transaction_fields in OpenERP(Odoo)?

If you want to use transaction_fields in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: - def name_get(self, cr, user, ids, context={}): if not len(ids): return [] res = [] for r in self.read(cr, user, ids, [’name

Solution for Pods-prefix.pch error

In Xcode 6.1 and above versions sometimes we get this Pods-prefix.pch error. To resolve this issue you just need to follow simple steps. Quit Xcode. Go to Libarary > Developer > Xcode > Derived Data Remove All Derived Data. Do not forget

How to set pagging in Zend Framework

Hello Guys, We generally need paging in all the listing pages in website. To set paging in Zend Framework, please follow the below code:: // you need to set the below code in your controller $select = $db->select()->from('posts')->order(

How to find elements from the group array in PHP

Hello Reader's! if you have set of arrays and you want to get all of them seperatly then the code below will help you. Let's say if you have [ [a], [b], [c], [a, b], [a, c], [b, c], [a, b, c] ] and you want this [a,b,c] The code will go lik

How to add a Favicon to your Wordpress Blog

Many of the wordpress themes are having options in admin panel for uploading and changing the favicon image. But if we want to make a custom favicon image or we do not have any option in theme then we can create a custom favicon for every wordpress s

How to Check If Bootstrap Last Column is Even or Odd

Im new to this forum and new to php too… hope i get some help… I have bootstrap column in while loop, what i want is if bootstrap last column is odd then i want column to be 12 (col-12), i found the way to check number even or odd but

How to get playtime, height and width of a vedio by PHP

Hello Reader's if you want to get the details about the vedio from your local server then you can use the code liberary as below:- $ffmpeg_path = 'ffmpeg'; //or: /usr/bin/ffmpeg - depends on your installation $vid = 'PATH/TO/VIDEO'; //Replace he

AngularJS http (ajax)

AngularJS has provided a $http service that works as an ajax call in jquery. It performs a function of reading data from the server. $http makes a call to the database and retrieves the desired data or records. How to use? 1. you need to inject $ht

Angular $q,promises and deferred.

Promises are logics that are executed after any function is completed.  In AngularJS, promises are provided by the in-built $q service. It executes asynchronous functions by registering them with the promise object.   Deferred helps to con

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