
Search In
I was facing this issue of passing the array from php to the bash file. To pass array to bash file write the following lines of code.
Php Code:
$array= $countries_array; // Countries array from database
shell_exec('sh get_countries.sh '.join(' ',$
Const keyword
Const variable in C# are compile time variable i.e value is known at compile time.
The assignment to const variable is only done at the time of declaration and this value of variable remain constant throughout lifetime of the progra
There is a property in text view to have web links, email address and phone number to make them as hyper link and actionable.
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autoLink
Sometimes we need to make AJAX call in our Web page. The purpose of AJAX call is that you want to get/submit data without refreshing your page or you want to submit your form by calling an API. We can do this very easily by using ajax() method of jQu
A directory service also called as named service maps the resources contained in the network to their actual address on the network.
With name service kind of directory , the user don't have to give the actual IP address of the r
To reset the password, Parse provide us RequestPasswordResetCallback to requesting a password to reset for an existing user.
I implement it using anonymous inner class. So then override the done() method where we can do whatever we want after the re
I am writing the code that we use to implement the flash in custom camera.
First, we need Camera.Parameters object that we get from Camersa's getParameters() method.
Then by using Camera.Parameters's setFlashMode() method we can specify our
Add Suffix To Date
Here is a very simple example of adding suffix to the date in iOS .With the help of example given below you can easily add a suffix to the date selected by the NSCalend
In many cases we do not want that the user can select the text of the website for privacy reason.
Using CSS property, we can restrict user to do so.
Here is the code below:
.disable-selection {
-moz-user-select: none; /* Firefox */
-m
Inheritance is a principle of OOP'S(Object Oriented Programming Language) in which a user can inherit all the properties of above class. The class who inherit the another class know as Child Class and the class which is being inherited call
