question about header() security


Posted on 16th Feb 2014 07:03 pm by admin

is is safe to just use the header() function to redirect someone if they are, say, not logged in? or should i always put a die() function underneath the header() function?
No comments posted yet

Your Answer:

Login to answer
309 Like 6 Dislike
Previous forums Next forums
Other forums

Not "Just Another" MMORPG - text based.
Hello,

I've been learning MySQL and PHP for the last 2-3 years.
Though, I've had long paus

XML Grouping
I'm using xml_parse_into_struct to get all my elements, but now I need to group them. For example, h

I am stumped
OK. Here is what I am trying to do. I have the conditions set, and if the conditions are met, I want

i have no idea why this isn't working
Code: <?php
session_start();
include("connect.php");

error_reporting(E

error reporting
hey everyone

I have a production server in which I want error reporting but only on some page

having a small php error tha deals with the 'foreach'
Last night i was working on a script for a cart and it seemed to working good, until this morning. F

str_replace help
I am thinking str_replace is my only option to filter outputs from my database to convert them to sa

A href problem under php
Hello...

I tried to explain the issue in an earlier post.. but was not clear enough....

Problems with array
This code is the last lines in an upload script that uploads 4 images at the same time and writes th

Multiple PHP errors when clicking a link..and..removing a ghost..
Hi - I have 2 problems with a new website - homeswapvacations.com, which I need help solving.

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash