Popular posts from this blog
Getting latitude, longitude, timezone using ip address.
This is a post to find the latitude, longitude, timezone, country, city and so on using the web services/api by ipinfodb. The ipinfodb provides api in both xml and json format. We can use either of them. I will show you how to use it for both formats. Using XML format: You can either register for api key from ipinfodb. I am using mine in this example.
Changing file permissions of a folder and all of its subfolders and files in Ubuntu.
Changing file permissions in Ubuntu is a very essential thing. If proper file permissions are not set to folders or files, it is not possible to execute any PHP or HTML files from the browser using localhost. The following command can be used to set file permission for any file or folder. sudo chmod 755 /var/www/myfolder In the above example

Comments
Post a Comment