WordPress.org

Ready to get started?Download WordPress

Forums

Flash Intro / isset() problem (1 post)

  1. G1zm0
    Member
    Posted 1 year ago #

    Hi,

    I've made a WordPress site for a friend. He wants a flash intro in the beginning.

    I've tested this idea on my home server using this topic and it works like a charm.

    Now I've set everything up on the real active server and the intro keeps looping. In the code:

    <?php
        session_start();
        if(!isset($_SESSION['flashIntroShown']))
        {
            $_SESSION['flashIntroShown'] = 1;
            header('Location: http://yourwebsiteURL.com/intro.html');
        }
    
    define('WP_USE_THEMES', true);
    
    require('./wp-blog-header.php');
    ?>

    I think it is going wrong with the isset() function. If i redirect it to google.com and try again it is still redirecting me, but it should go to the actual site. It might have something to do with a PHP version issue.

    Anny suggestions

    [ Please do not bump, that's not permitted here. ]

Topic Closed

This topic has been closed to new replies.

About this Topic