That worked, thanks for the reference.
Updated Code:
<?PHP function redirect($url){header("location: ".$url); exit;} ob_start("redirect"); session_start();?>
//...
<?PHP redirect($url); ob_end_flush();?>
EDIT: That worked once the page was already loaded, but it stops the rest of the page...
I'm using the PHP Header function to redirect to another page after doing some checks, but the redirect isn't working correctly, it just refreshed to an almost completely blank page of the same name (it includes and <link> and <script> in <head>, <body is empty). My redirect function looks like...
You're right again, thanks. I had tried a few and none of them liked it, but I finally got smart enough to try another one of my sites and that worked.
I have an iFrame setup and it works fine with local pages, but not any external pages. Is there a feature blocking that on x10hosting? I didn't think it was against the terms of service, but am I wrong?
I'm having some issues with my index.php page not appearing when I go to my site in Google Chrome, I get "/cgi-sys/defaultwebpage.cgi" instead. What confuses me is that this only occurs in Google Chrome and not in Internet Explorer or Firefox. Anyone have any ideas?