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

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

how to timeout $doc = new DOMDocument()->load($url)
I am currently using this $doc->load($url) to fetch an rss feed.
If a feed takes long than

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

Syntax Help
I'm trying to make a form that edits a php file which contains config settings. I'm using strings t

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

Delete HTML file after loading
I have limited experience with php and its been a year or two since I've last used it. I have a sma

Having Problem with Date
l have a submit buttom where user have the possibility to add a date to specify when his message s

Image resize
Hi again fellers

I managed to sort out the issues with the folder,

Final hurdle is th

Captcha problem users just refresh and it will let them auto submit again
Users will just re submit and not have to enter the new captcha.. ? Lol but if i refresh the page, t

Struct/union and scope problem!
HI all , I have
Code: in header.h typedef struct Node Link; /* ---------

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