Changeset 405 for trunk/profile.php


Ignore:
Timestamp:
Mar 31, 2004, 10:43:09 PM (21 years ago)
Author:
z0rglub
Message:

redirections modification : use of a HTML refresh page instead of header PHP
function. The purpose is to avoid redirections failure when extra characters
are found in included PHP files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/profile.php

    r393 r405  
    121121    $url = 'category.php';
    122122    if ( !isset($_POST['create_cookie']) ) $url = add_session_id( $url,true );
    123     header( 'Request-URI: '.$url ); 
    124     header( 'Content-Location: '.$url ); 
    125     header( 'Location: '.$url );
    126     exit();
     123    redirect( $url );
    127124  }
    128125}
Note: See TracChangeset for help on using the changeset viewer.