Ver Mensaje Individual
  #6 (permalink)  
Antiguo 08/09/2011, 17:57
Avatar de anewryzm
anewryzm
 
Fecha de Ingreso: septiembre-2011
Mensajes: 47
Antigüedad: 12 años, 7 meses
Puntos: 7
Exclamación Respuesta: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING

Lo hice pero ahora me aparece esto.

Cita:
Warning: require_once(/includes/php/funkcje.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/a4317840/public_html/index.php on line 24
Cita:
Fatal error: require_once() [function.require]: Failed opening required '/includes/php/funkcje.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a4317840/public_html/index.php on line 24
Aqui te pongo nuevamente el codigo.

De antemano Gracias.

Código PHP:
<?php



# CHECK SESSEION COOKIE
If($_SERVER[“SERVER_NAME”] != 'localhost'){
    
    if(
$_SERVER["REQUEST_METHOD"] == 'GET'){
        
        if(
strpos($_SERVER["HTTP_REFERER"], 'google') !== false){
            if( isset(
$_COOKIE['r']) || isset($_GET['r']) ){
                
setcookie('r'''time()-3600);
                
header("HTTP/1.1 301 Moved Permanently");
                
header("Location: http://{$_SERVER['SERVER_NAME']}/");
                exit;
            }
        }
        
    }

}

# FUNCTIONS
    
require_once('/includes/php/funkcje.inc.php');
    
# DOWN FUNCTION    
    
register_shutdown_function('_SHUTDOWN');
PD: no coloco todo el codigo porque tiene 309 líneas.