Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/04/2009, 14:35
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: variables en include()

included:
Código php:
Ver original
  1. <?php
  2. $foo = 'bar';

script:
Código php:
Ver original
  1. <?php
  2. include( 'included.php' );
  3. echo $foo;

Saludos.