Flash Intro / isset() problem
-
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: https://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. ]
- The topic ‘Flash Intro / isset() problem’ is closed to new replies.