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

Search In

How to enable Socket Transport SSL in PHP

Hello reader's If are using the Windows environment and developing the SSL based websites then you might have to enable the SSL for PHP for the first time. So to enable that you just need to perform the following tasks steps:- Step1: Rename php.in

Laravel 4.x Carbon Class

The Carbon class is inherited from the PHP DateTime class. Example: <?php class Carbon extends \DateTime { // code here } ?> There are n number of situation when we want to get the 1 day or 2 days old data. For this we will do calculati

How to create zip folder on server with linux terminal or putty

If you are looking to create zip folder on your server with terminal or putty, please follow the step below: 1) Get connected with server ssh -i "/pemfilepath/my_server.pem" username@serverIP 2) Replace your pem file path and username with your s

What are the best practices and best places for laravel 4 helpers or basic functions?

Many user will make a helper in app folder but if you want to use helper the best practice and best place to use Laravel 4.x helper in app/libraries folder. So all the basic function and helper we should define in app/libraries. Advantage of librar

How to check if a user has liked your Facebook page or not

Hello Reader's, If you are making the code for facebook page likes details and you want to know if the user has already liked your page or not, Then you can use the following library code for that :- <html> <head> <script type="

Hiding all the URL in a text except a particular one

There was a requirement of hiding all the wesite URL in a message except for a particular one. While looking for a solution I came across a particular solution which I think might help other . params[:meal_note] = params[:meal_note].gsub(/(?!\S+me

Deleting user by userId in liferay

Hello Guys Here, I am writing blog for deleting user by userId in liferay from custom portlet. User : The extended model interface for the User service. Represents a row in the "User_" database table, with each column mapped to a property of th

How to create menu using Wordpress

Hello Reader's! If you are new to WordPress and you have to create the menu for first time. You just have to do the steps below:- Step1:- Open or Create a file functions.php in your theme folder and paste the code below:- add_action( 'after_setup_t

How to refresh a List in Android?

1)Write activity_main.xml: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" and

Get useful error messages in PHP

In case of syntax errors all you need to do to is to turn on error display in the php.ini. You may miss it because of it being turned off by default. Well, they are turned off by default because of a simple reason that a customer does not come acros

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