
Search In
Recently I was working on rails 4 application and there was a need to get current absolute URL. So I noticed that as rails evolved, this is also getting changed and thought to pen down these ways for all the rails versions.
For Rails 3.2 or Rails 4
Hello...i am a newbie here.
First of all I am a designer and I learning my way into web development. Now I got a project to design and develop a dynamic website.
[b]Project Description:[/b]
A site where users can post and publish content related to
Hello Reader's If you have an multidimensional array which you want to sort. Then PHP offers you many ways to do it.
Let's see the easiest way to achieve it:-
Array
(
[0] => Array
(
[0] => dave
[1] => jones
[2]
If some one find a way to create an array with the registered routes paths within Laravel 4. If someone wants to get a list something like this returned:
/
/login
/join
/password
Solution: For this we will use the method
Route::getRoutes()
whic
Session component provides a way to persist the data between HTTP requests.
We can put any value to name and by this way we can write the session.
SessionComponent::write($name, $value)
$this->Session->write('User.fruit, 'apple');
Which wri
Hello Everyone, today we will learn about "How to Check Unique visitor counter in your website".
There are many ways to check the user list who navigate your website, like Google Analytics Plugin in Wordpress etc.
With Google Analytics Plugin and c
Hello Reader's if you want to get the shortest way to get the max value of the given array, Then by using JS you do it fast.
To find the result you have to use Math.max() function.
Lets's see the working example as given below:-
<!DOCTYPE html&
Hello Reader's. Array is a datastructure used to storing multiple elements inside it. But the declaring way to array is different in all the technologies.
For example if you want to declare array in JavaScript then you can use any one out of two way
While writing code in MVC there are scenarios where you need to use one view in more than one action .
One way is to create separate view for it that will be a tedious process to do
Another way is to create a common view for multipl
Hello Reader's if you want to make the tracking system of your website, then the best way is to get the records of the IP address from user. Getting the IP of remote of PC can done on various ways. PHP let you do this by using $_S
