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

Include ("Absolute Path") of a file?
I'm not sure what I'm doing wrong. I am writing my php code in the same directory of the file that

Creating XML with php
I need to creat an XML with php and have successfully produced a valid output.
The problem I hav

Quick fix: Conditional statement with an array
Hi, I'm getting the temperature value off of the Environment Canada website along with the icon file

Comparing two dates
Hi Guys
I have two dates I want to compare. Below is my current implementation. The problem with

Calender Not Opening
The following code is not loading the javascript calender in another window. It's not doing anything

PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see

Links not updating
I'm trying to fuel a simple navigation system for a news section. It works fine when it comes to ret

show the direct link into href
I want to display link on the page. i am fetching the data(URL) from database,actually before that i

Checking BOM Authorization Group
Hai Friends,

I have developed a mulitilevel BOM display report. End users have been assig

$get problem
Hi Guys ...

can you please tell me what i am doing wrong here
Code: <?php

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