PHP Curl login con redirección no funciona

Tengo el siguiente script PHP que debe obtener el contenido de una página, que está detrás de un formulario de inicio de sesión.

Funciona bien en mi servidor localhost, pero no funciona en un host (GoFreeServe). Tengo una respuesta vacía. ($ postResult está vacío).

Guión:

    $login_url = 'http://senioren.voetbal.nl/clubs_comp/mijn-teams/competitie/173299/OWIOS-9-zaterdag?destination=clubs_comp%2Fmijn-teams%2Fcompetitie%2F173299%2FOWIOS-9-zaterdag';
$data = file_get_contents("http://voetbal.nl/login/menu/data");
        $parts = explode('name=\"form_build_id\" id=\"',$data,2);
$post_data = 'name=****&pass=****&op=Inloggen&form_build_id='.substr($parts[1],0,37).'&form_id=login_block_login_form';
$ch = curl_init();
$agent = $_SERVER["HTTP_USER_AGENT"];
curl_setopt($ch, CURLOPT_USERAGENT, $agent);
curl_setopt($ch, CURLOPT_REFERER, $login_url);
curl_setopt($ch, CURLOPT_URL, $login_url );
curl_setopt($ch, CURLOPT_POST, 1 );
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_MAXREDIRS, 10);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');

$postResult = curl_exec($ch);

curl_getinfo Localhost

[url] => http://senioren.voetbal.nl/clubs_comp/mijn-teams/competitie/173299/OWIOS-9-zaterdag
    [content_type] => text/html; charset=utf-8
    [http_code] => 200
    [header_size] => 557
    [request_size] => 503
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 2.668
    [namelookup_time] => 0
    [connect_time] => 0.016
    [pretransfer_time] => 0.016
    [size_upload] => 57
    [size_download] => 173015
    [speed_download] => 64848
    [speed_upload] => 21
    [download_content_length] => 173015
    [upload_content_length] => 57
    [starttransfer_time] => 1.014
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [redirect_url] => 

curl_getinfo Host

Array
(
    [url] => http://senioren.voetbal.nl/clubs_comp/mijn-teams/competitie/173299/OWIOS-9-zaterdag
    [content_type] => text/html; charset=utf-8
    [http_code] => 302
    [header_size] => 1125
    [request_size] => 361
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 1.001361
    [namelookup_time] => 0.000638
    [connect_time] => 0.094666
    [pretransfer_time] => 0.094712
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => 0
    [upload_content_length] => 0
    [starttransfer_time] => 1.001199
    [redirect_time] => 0
)

El host no está en safe_mode y tiene CURL instalado. También cookie.txt es chmodded a 777. La PHPInfo del host se puede encontrar aquí:http://phpinfo.byethost11.com/index.php

¿Sabe por qué obtengo un http_code de 200 en mi Localhost y un http_code de 302 en el host?

¡Gracias!

EDITAR: Después de activar el informe de errores (! @! #! $), La página devolvió el siguiente error:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /test2.php on line 39

Respuestas a la pregunta(3)

Su respuesta a la pregunta