Archive for 2016

How to transfer existing domain with another hosting in cpanel for godaddy hosting?

Suppose you have old Hosting H1 and domain D1. You have purchased new hosting H2 with cpanel. Now you want domain D1 to new hosting as a multiple hosted domain in H2. To do this follow following steps: Copy all files and databases related to domain D1 from Hosting H1 o new Hosting H2. Go to Domain Manager and select domain D1. Now click on DNS Zone File ... Full story

How to completely remove filezilla from macOS ?

Sometimes Filezilla creates problem connecting to server with FTP. The easiest solution is to check the connection from another computer. If it worked on another computer then there is something wrong in your computer's filezilla, in this case Filezilla should be uninstalled completely and reinstalled again. Is that all? Nope. You should delete the config files located in your .config folder. Here is what you ... Full story

javascript new date not working in iphone and android devices with NAN and Undefined error

Today i found a new problem, the date object working perfectly in desktop web browsers but not working in android browsers and iphone browsers. The problem is they issue NAN and Undefined errors. So what is the universal solution? There is a simple solution to the problem. You should declare date as following format: If you are processing date from php then the ... Full story

How to show all errors in php?

Without editing php.ini it is possible to display almost all errors in php by adding following 3 lines of codes on the top of the php page: Hope it helped you. If it helped please do not forget to comment below. Thanks. Full story

How to Show hidden files or Hide files in Mac OS?

How to Show hidden files or Hide files in Mac OS?
sometimes we might encounter the situation that we need to see or edit the hidden files in mac os. For example we need to show .htaccess file in the htdocs folder and edit it. There is a command to show and hide the files in the mac. Type and run the following in the terminal: Command to show the file:     defaults write com.apple.finder AppleShowAllFiles YES Command to hide ... Full story

How to solve PHP Warning: mysqli_connect(): (HY000/2002): Connection refused problem?

The default port on MAMP for mysql is 8889, but the port that php expects to use for mysql is 3306. So you need to change it. Open MAMP, go to Preferences and Ports and change the MAMP mysql port to 3306, then click ok. Then mysql server will be restarted by MAMP if not then restart it manually. Now the connection should be successful ... Full story

How to solve MySql not starting in MAMP problem?

In mac if you have ever encountered a problem that MySQL suddenly stopped working then i have a solution to your problem. I have recently encountered this problem in my Mac OS Sierra. Apache server is working but mysql is not. The solution is to navigate to the mysql folder, in my case its, /Applications/MAMP/db/mysql56/ and remove all the files except ... Full story

How to create Be like Bill?

How to create Be like Bill?
Nowadays, Be like Bill and Don't be like Bill are trending on the internet. It is obvious for all that they love to create their own customized Be Like Bill or Don't Be like Bill. In this tutorial we present a very customizable app for Be like Bill. Link: Create Be Like Bill create Don't Be like Bill ... Full story

How do get PHP Errors to display?

To get PHP errors to display without modifying php.ini add the following codes to the top of the php file: However, it won't show parse errors. To show parse errors modify your php.ini with this line: Full story
Copyright © 2024 Programmer to Programmer- A website for web programming and mobile application programming tutorials.
Wordpress themes