Viewing articles tagged 'php'

 allow_url_fopen

If enabled, allow_url_fopen allows PHP's file functions (such as file_get_contents() and the...

 Come effettuare modifiche al php.ini

Per modificare i paramentri di configurazione php più comuni, è possibile utilizzare in cPanel la...

 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): It is not safe to rely on the system's timezone settings.

If you get following error message:Fatal error: Uncaught exception 'Exception' with message...

 How to Backup Your MySQL Database Using PHP

This simple PHP script will provide a full dump of your MySQL database.You need to provide...

 How to Create a phpinfo page

The phpinfo() function outputs a huge amount of information about the system you're using, such...

 How to enable allow_url_fopen for a single site in cPanel

For security reasons it's recommended to set always off allow_url_fopen at a global level.But...

 How To Insert a Carriage Return in a PHP String

If you need to insert a Carriage Return in a string in PHP: Carriage return is: "\r"  But...

 How To Make a Redirect in PHP

If you want that a page redirects automatically the user to a certain page or site (let's say,...

 How to send mails through your website

On shared web hosting server for security reasons it's not possible unauthenticated email sending...

 How to set php.ini values using .htaccess

You can override global values of system variables re-setting them in .htaccessFor each system...

 How to show domain name in HTML or PHP

If you need to show the domain name in a HTML page, you can do it using following javascript...

 Limiti funzione php mail()

per motivi di sicurezza sui nostri server di hosting shared Linux la funzione php mail() è...

 PHP Parse error: syntax error, unexpected $end

This is a very common error, typically caused by a missing } used in PHP to denote content...

 PHP Script to Test MySQL Database Connectivity

This is a simple PHP script to test MySQL database connectivity. The result of this script...

 PHP Simple Contact Form Script

This is a sample script to insert a generic contact form in your website.You can easily modify...

 simple php script to barely import domain records into WHMCS

 Switching PHP Version

We supports PHP 5.2, 5.3, 5.4, 5.5 and 5.6 on our cPanel Hosting Servers, with PHP 5.2 being the...