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

DirectoryIterator and Hacked Website
Hi Everyone.

My problem:
Some one has been sneaking in to my website hidden Iframes. I've

PHP Mysql Staff Induction System
Hi there, I'm pretty new to PHP and Mysql so could really do with being pointed in the right directi

INSERT data problem!
After having an string with apostrophes ', double quotes " or any other special characters, suc

PHP form help required
Hi all! Apologies in advance for having to message the forum for help. I know you must get a lot of

Registration
ok so i have a site where people can register and login which works now thanks to someone on here th

NOOB needs help with upload file
The intent of this form is to create a folder for a client and upload an image into another folder '

empty() error
Why does

Code: empty($USER_ID = $_SESSION["USER_ID"])
create this error...

image upload script not working with png
The basic process of this php code is to take the submitted file, convert it to a small JPG thumbnai

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

Dynamic Array using glob?
Is there an easier way to do this?

I am trying to get create a dyamic array based on files wi

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