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

regex for quoted text within a string
I am still getting the hang of regex expressions, but I cant seem to figure out how I would escape q

Php navigation
I have four buttons on a php page.
If i click a button it will redirect to different php pages.

cookie problem
I hv a website url
In this site main menu functionality based on cookie when user click on parti

Any meaningful project for a new C++ programmer?
I want to do some meaningful program, so I can help myself to learn

Assume I know the fol

Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a var

Escaped characters
I have a script that allows you to post news to the home page of my site. Along with the news is the

Apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

md5 is it unique
I know this is most likely one of many simple questions that can be found semi easily. But I'm press

Help =( !! Upload Pics [PHP script]
Hello
I need help with a php script [MULTIPLE UPLOAD IMAGES] , where I want to add a feature (wat

How could I combine these arrays??
Hello.. I'm trying to figure out a way to combine these first two arrays to get the last array..

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