Jump to content

header, fatal error?


Ninjakreborn

Recommended Posts

[code]<?php
require_once("../master/config/config.php");
unset($_SESSION['temp']);
header("Location /admin.php");
?>[/code]
http://www.9ksafety.com/eventaccident/cleardata.php

It make's no sense, I narrowed it down, it's my redirect.  It's not working for some reason?
It work's on the other page's properly, but on this one it give's me that, this is simply suppose to clear the variables that are there, and redirect, it didn't even give me headers already sent, it just gave me this, am I doing something wrong.
Link to comment
https://forums.phpfreaks.com/topic/27353-header-fatal-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.