Articles

Do you provide access to shell functions in PHP?

In the shared hosting environment, security is a very complex issue; therefore we prefer to...

Example of PHP code for connecting to the MS SQL database

Below is an example of PHP script for connecting to an MS SQL database: <?php...

How can I change different parameters in php.ini?

HostX uses a special configuration on its Linux servers. This configuration allows each user to...

How can I check if a PHP function exists?

You can check the availability of a PHP function using the sequence below: <?php...

How is the value of the register_globals parameter set?

As of July 1, 2007, on all HostX servers (Linux and Windows), the register_globals and...

How to display the contents of a PHP folder?

You can use the following PHP code sequence, saved in a file named index.php (loaded in the...

How to enable error reporting in PHP?

You can change the error_reporting in cPanel >> Select PHP version >> PHP Settings,...

How to generate a .pdf file from PHP?

Generating .pdf files from PHP can be done using FPDF. FPDF is a PHP class that allows the...

I'm trying to use the fsockopen () function to connect to an external server on a custom port. Is that possible?

In general, yes. However, you need to open a ticket to the Technical Dept. in which you will...

Is PEAR available on HostX servers?

Yes. All Linux shared hosting servers include PEAR.If you need one or more PEAR modules that are...

My PHP script is showing a blank page. Why?

By default, in php.ini the display_errors parameter is set to Off for security reasons. If you...

My PHP script requires ionCube. Do you have ionCube installed?

Yes. All Linux shared hosting servers include ionCube.To find out the current ionCube version...

My script requires PHP installed as Apache module. Can you reinstall it?

It is not possible to use PHP as Apache module on Linux shared servers. All our shared hosting...

PHP Error: Cannot modify header information

This error can have several causes: spaces before the <?php tag various issues with the...

What is the maximum execution time of a PHP script?

In the shared environment, the server's resources are shared by all users hosted on that server....