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

a dificult string search
Hi I don't know a way around this. I want the user to input a password, but to make it a bit complca

How to limit the calls to an API
Hello, in my simple script I call an api which effectively involves me getting an xml file.

H

Get to know your fellow coder
I think it's time we got personal around here. There's a lot of code swapping and a few members kno

validating url
im trying to validate url's sent to me by a form
the url's im collecting are for placing banners

Linux socket programming
Where can I find a good introduction to socket programming?

Insert numbers from Barcode scanner into online php page
I have a real big problem, Here is what I'm trying to do. I have a Intermec CN3 handheld computer th

Can't find the problem (no error message)!
OK, here's the deal. This code is really weirdly formatted (sorry!) and hard to understand, so I'm g

Program with calculate Meteorologic measurements
Hello I'm a beginner and I want to make a program with calculate Meteorologic measurements:
ba

quick question
Hi ..

i have a question
how do i set a var so it displays via an echo
Code: $logo = '&a

Compare user input to flat file data
Help...Am a complete newbie to programming so my code is prolly quite long. Am trying to verify a us

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