- Plantillas Web
- Plantillas E-commerce
- Plantillas de CMS y Blog
- Plantillas Facebook
- Constructor Web
Plantillas con animación JS/Flash. Formulario de contacto y PHP 4.
abril 1, 2012
Este tutorial contiene instrucciones para que su formulario de contacto HTML en una plantilla JS o una plantilla con animacion Flash funcione en el servidor PHP 4.
1. Abra el fichero MailHandler.php
2. Reemplace el codigo:
try{ if(!mail($owner_email, $subject, $messageBody, $headers)){ throw new Exception('mail failed'); }else{ echo 'mail sent'; } }catch(Exception $e){ echo $e->getMessage() ."\n"; }
con
mail($owner_email, $subject, $messageBody, $headers);