How to allow access to a single IP address using .htaccess

In the following example, we will assume that you want to allow access only to 1.2.3.4 IP address. The code that you will need to add in your .htaccess file is: # Order Allow, Deny Deny from All Allow from 1.2.3.4 Order keyword here specifies the order in which allow, deny access would be processed. For the above ‘Order’ statement, the Allow statements ...

How to Disable Directory Browsing

.htaccess is a resourceful file that can allow or deny access to your website or a folder or files in the directory in which it is placed by using order, allow and deny keywords.Options All -Indexes That’s it. Now you know how to Allow or Deny access to your website using .htaccess.

Troubleshooting FileZilla FTP Connection Errors

If you have problems connecting to your FTP account using FileZilla, check out the information below to help you solve the problem. Response: 530 Login authentication failed Response: 530 Login authentication failed Error: Critical error Error: Could not connect to server If you see this error message when trying to connect it means that you entered an incorrect username/password or host. ...

Do you support SugarCRM ?

Yes sure, UltaHost supports "SugarCRM", from the minimum requirements to the maximum performance!Our support agents have full experience with the script, they can configure for you the correct configurations for your server and API and necessary files, to meet your expectations and to make your script work perfectly with no issue. As well we provide all necessary install or ...

Do you support Rise Ultimate Project Manager & CRM Script ?

Yes sure, UltaHost supports "Rise", from the minimum requirements to the maximum performance! Our support agents have full experience with the script, they can configure for you the correct configurations for your server and API and necessary files, to meet your expectations and to make your script work perfectly with no issue. As well we provide all necessary installs or ...

Do you support CiviCRM?

Yes sure, UltaHost supports "CiviCRM", from the minimum requirements to the maximum performance!Our support agents have full experience with the script, they can configure for you the correct configurations for your server and API and necessary files, to meet your expectations and to make your script work perfectly with no issue. As well we provide all necessary install or ...

Do you offer CRM Hosting ?

Yes sure, UltaHost supports almost all types of CRM hosting scripts.Our support agents have full experience with the most popular CRM scripts such as Rise, SugarCRM, and CiviCRM, they can configure for you the correct configurations for your server and API and necessary files, in order to meet your expectations and to make your script work perfectly with ...

How much PlayTube users can handle each server plan?

We highly don't recommend using PlayTube Script in shared hosting, you will gain more speed and performance using VPS or VDS Powers or Dedicated server plans. In the table below we calculated the performance of each server with daily and monthly visiting, you can pick your plan depending on your expected daily and monthly visitors. In the future, if ...

How can I change my PHP version?

Your Hosting Account's PHP version can be changed at any time through your Control Panel. To change your PHP version, access your website's Control Panel and search for the PHP Configuration menu. You can also just type "PHP" into your Search Bar at the top of your Control Panel page.In the newly opened page, you can select the PHP ...

Can I enable Zlib compression?

PHPZlib Compression You can quickly enable/disable "Zlib Compression" for your Hosting Account through your Control Panel. To enable/disable "Zlib Compression", access your Control Panel and search for the PHP Configuration menu. Alternatively, you can simply type "PHP" into the Search Bar at the top of your Control Panel page.In the newly opened PHP Configuration menu, search for ...

Can I hide errors and warnings that are displayed on my website?

PHP Errors and warnings can be turned off through your Hosting Accounts Control Panel. To disable/enable your account's PHP errors, access your Control Panel and locate the PHP Configuration menu. You can also just type "PHP" into your Search Bar at the top of your Control Panel page.Access the PHP Configuration menu, search for the Display Errors field ...

How can I change the php.ini file?

Access to the php.ini file is not allowed for Shared Hosting customers here. However, most PHP values and settings can be used by using the .htaccess file with the help of php_flag. You can learn more about .htaccess file here

How can I modify the PHP timezone setting for my website?

Your server's Global time configuration cannot be changed, but you can use the PHP function date_default_timezone_set to set the timezone for your website. Here's an example code that sets and checks the currently set timezone: <?php date_default_timezone_set("Asia/Bangkok"); echo date_default_timezone_get(); ?> A list of available PHP timezones can be ...

How to parse PHP in HTML files?

If you want to make all of your website's .html pages to run as .php files instead (parsing PHP in HTML files), all you need to do is add the following line to your .htaccess file: AddHandler application/x-httpd-lsphp .htm .html IMPORTANT: Make sure to make backups of your original .htaccess file, as making changes to this file can disrupt ...

I get 'Invalid argument supplied' message

If you see error message 'invalid argument supplied' or similar error message in your script, it means there is a problem with your script coding (it's not related to hosting servers). You can find a solution here: http://www.google.com/search?q=PHP+Invalid+argument+supplied  

Parse error: syntax error, unexpected T_PRIVATE

If you get error message 'unexpected T_PRIVATE' or similar error in your script, make sure your script does not use "reserved" variables. For example, $private is "reserved" variable in PHP5, so rename $private to something else and everything should work fine. To learn more see this link: http://www.google.com/search?q=unexpected+T_PRIVATE

I get 'unexpected T_STRING' error

You may get this error because all .html files are parsed as PHP here. So, if your .html file contains "<?" or "?>" tags/text (which shows for file parser that PHP code started), you get this error. This can happen with XML files if they are not using correct content type. If order to fix this error you need ...

How to turn off PHP error reporting?

To turn off PHP error reporting you can use the following snippet in your PHP script: error_reporting(0); Just remember to call this before any other PHP directive. Alternatively, you can add this line to your .htaccess file (it is located in your public_html folder) to suppress any php error messages: php_flag display_errors off

Do you support GCC compiler?

GCC compilers are not supported on ultahost.com our servers. You can still install it on our VPS packages: https://ultahost.com/vps-hosting

Is allow_url_fopen enabled on your servers?

PHP function allow_url_fopen is enabled on all of our Shared Hosting packages.