Gledate članke z oznako 'php'

 allow_url_fopen

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

 Come aggiornare la versione di PHP su hosting Windows

Su tutti i piani hosting Windows di DomainRegister sono rese disponibili differenti versioni di...

 Come effettuare modifiche al php.ini

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

 Come selezionare la versione di PHP

  Su tutti i profili di servizio di hosting Linux viene fornita di default PHP nella versione...

 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 Convert the Result of var_dump() to a string in PHP

During PHP debugging, if you need to store somewhere the value of a var_dump() (i.e., in a log...

 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 enable PHP errors logging in WHMCS

To enable PHP error logging in WHMCS, for testing and debugging purposes: Go to Setup ->...

 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 Manage Cron Jobs

To access "Cron jobs" menu, sign into DirectAdmin and then click on the "Advanced Features" icon,...

 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 - difference between PHP_SELF PATH_INFO SCRIPT_NAME REQUEST_URI

In a generic php script such as...

 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 (PHP 5.x)

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

 PHP Script to Test MySQL Database Connectivity (PHP 7.x)

<?php $mysqli = new mysqli("localhost", "user", "password", "dbname"); if...

 PHP Simple Contact Form Script

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

 Regole di buona scrittura per codice PHP

Scrivere il codice PHP in maniera omogenea ed ordinata è importante per favorirne la leggibilità,...

 simple php script to barely import domain records into WHMCS

If the number of domains to be imported in your WHMCS is not huge (i.e., less than 200 domains),...

 Switching PHP Version

We supports PHP 5.5, 5.6, 7.0, 7.1 and 7.2 on our cPanel Hosting Servers, with PHP 5.5 being the...