Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/10/2006, 08:37
Avatar de dogcat
dogcat
 
Fecha de Ingreso: diciembre-2003
Ubicación: Alicante
Mensajes: 325
Antigüedad: 20 años, 4 meses
Puntos: 2
Problema con un script...

Hola, puse un script para enviar formularios vía email, el caso es que al hacer un include en otra de mis páginas para mostar el formulario me da el siguiente error:

Parse error: parse error, unexpected T_STRING in http://www.hiphopyaik.com/ArteLive/contacto/index.php on line 1

Cita:
<?php

/************************************************** ***
** Title........: Form Mail Script
** Filename.....: index.php
** Author.......: Ralf Stadtaus
** Homepage.....: http://www.gentlesource.com/
** Notes........: This file contains the configuration
** Last changed.:
** Last change..:
************************************************** ***/

/************************************************** ***
**
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
** OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
** LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
** FITNESS FOR A PARTICULAR PURPOSE AND
** NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
** COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
** OR OTHER LIABILITY, WHETHER IN AN ACTION OF
** CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
** OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
** OTHER DEALINGS IN THE SOFTWARE.
**
************************************************** ***/




/************************************************** ***
** Script configuration - for a documentation of the
** following variables please take a look at the
** documentation file in the 'docu' directory.
************************************************** ***/
$script_root = './';

$referring_server = ''; // Example: $referring_server = 'artelive.es, www.artelive.es';

$language = 'es'; // (see folder 'languages')

$ip_banlist = '';

$ip_address_count = '0';
$ip_address_duration = '48';

$show_limit_errors = 'yes'; // (yes, no)

$log_messages = 'no'; // (yes, no)

$text_wrap = '65';

$show_error_messages = 'no';

$attachment = 'no'; // (yes, no) -- make folder "temp" writable with: chmod 777 temp
$attachment_files = 'jpg, gif,png, zip, txt, pdf, doc, ppt, tif, bmp, mdb, xls, txt';
$attachment_size = 9000000;

$path['logfile'] = $script_root . 'logfile/logfile.txt';
$path['templates'] = $script_root . 'templates/';

$file['default_html'] = 'form.tpl.html';
$file['default_mail'] = 'mail.tpl.txt';




/************************************************** ***
** Add further words, text, variables and stuff
** that you want to appear in the templates here.
** The values are displayed in the HTML output and
** the e-mail.
************************************************** ***/
$add_text = array(
'txt_additional' => 'Additional', // {txt_additional}
'txt_more' => 'More' // {txt_more}

);




/************************************************** ***
** Do not edit below this line - Ende der Einstellungen
************************************************** ***/














/************************************************** ***
** Send safety signal to included files
************************************************** ***/
define('IN_SCRIPT', 'true');




/************************************************** ***
** Load formmail script code
************************************************** ***/
include($script_root . 'inc/formmail.inc.php');




?>
A ver si alguien puede echarme una mano... GRACIAS!