Sending emails from 1and1 with PHPMailer

 PHP, Sin categoría  Comments Off on Sending emails from 1and1 with PHPMailer
Mar 152015
 

In this post we are going to explain how to send emails using PHPMailer from a 1and1 server.

On the one hand, we have a config.php file where we configure the main parameters.

On the other hand, here you have a sample of a php class using PHPMailer for sending emails.

PHP internationalization with gettext

 PHP, Sin categoría  Comments Off on PHP internationalization with gettext
Feb 162015
 

When you are developing a PHP Web Application, many times you need it to be dynamically available in several languages. One solution for this is to enable the Gettext PHP extension into PHP itself. If you are using a WAMP, XAMP or MAMP distribution the only thing you have to do is removing the semicolon of the gettext.so or gettext.dll extension that you can find in php.ini.
Continue reading »