Gledate članke z oznako 'php'
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 WindowsSu tutti i piani hosting Windows di DomainRegister sono rese disponibili differenti versioni di...
Come effettuare modifiche al php.iniPer modificare i paramentri di configurazione php più comuni, è possibile utilizzare in cPanel la...
Come selezionare la versione di PHPSu 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 PHPThis 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 PHPDuring PHP debugging, if you need to store somewhere the value of a var_dump() (i.e., in a log...
How to Create a phpinfo pageThe 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 cPanelFor security reasons it's recommended to set always off allow_url_fopen at a global level.But...
How to enable PHP errors logging in WHMCSTo enable PHP error logging in WHMCS, for testing and debugging purposes: Go to Setup ->...
How To Insert a Carriage Return in a PHP StringIf you need to insert a Carriage Return in a string in PHP: Carriage return is: "\r" But...
How To Make a Redirect in PHPIf you want that a page redirects automatically the user to a certain page or site (let's say,...
How to Manage Cron JobsTo access "Cron jobs" menu, sign into DirectAdmin and then click on the "Advanced Features" icon,...
How to send mails through your websiteOn shared web hosting server for security reasons it's not possible unauthenticated email sending...
How to set php.ini values using .htaccessYou can override global values of system variables re-setting them in .htaccessFor each system...
How to show domain name in HTML or PHPIf 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_URIIn a generic php script such as...
PHP Parse error: syntax error, unexpected $endThis 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 ScriptThis is a sample script to insert a generic contact form into your website.You can easily modify...
Regole di buona scrittura per codice PHPScrivere il codice PHP in maniera omogenea ed ordinata è importante per favorirne la leggibilità,...
simple php script to barely import domain records into WHMCSIf the number of domains to be imported in your WHMCS is not huge (i.e., less than 200 domains),...
Switching PHP VersionWe supports PHP 5.5, 5.6, 7.0, 7.1 and 7.2 on our cPanel Hosting Servers, with PHP 5.5 being the...