Free Web Hosting is Powered by HOST1PLUS

Posts Tagged ‘php’

How to create another domain?

You can create another domain in DirectAdmin in a few easy steps. Firstly, once you are logged in to DirectAdmin, go to Domain Setup. There you will get a list of domains that you already have in your account. If you still don’t have any domain created, click Add Another Domain. Now you will need to type in domain name and adjust such options as bandwidth, disk space, secure SSL, CGI access, PHP access. Once you are done with that, click Create button and new domain will be created.

How do I connect to MySQL from PHP?

The first thing you will need to do when using PHP and mySQL is to connect to the mySQL database from PHP.
Luckily there are a couple of functions in PHP that make it easy. Once you get it working you can just copy and paste at the top of each script that requires the database or use a template or include file of some sort to include the details.

And that’s all there is to it – use your username, host, password and database name and this will establish the connection.
The most common problem is that you get the password wrong so double check it’s right if you get errors.

Where can I find server PHP information?

To get the detailed information about PHP modules you can visit this link located here.

What is the Path to Sendmail?

The path to sendmail is as follows : /usr/sbin/sendmail