Viewing articles tagged 'php'

 3 - DomainRegister Third Generation API - example of PHP code

<?php $data = array( "action" => "RegisterDomain", "token" =>...

 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 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...

 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...