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

Check before inserting in DB ???
This is my code
---------------
if ( $_POST ['Submit'])
{{
$username = $_POST ['usernm

Prevention Help
How can I use PHP or any other language (feel free to move this thread) to prevent users doing scree

Record count of entire database
Does anyone know if there is a way to obtain the number of records in each table of the database usi

Gaining access to Drop Down Menu Variable
code is below, I am creating a drop down menu. I want to echo the value selected in the drop down me

I need some help with the IF command...
I have a large number of images in one section of my website with the .jpg format. I'm adding a bun

How to show next and prev records
Hi all,

Sorry if this is simple, i'm very new to php, well, any programming language actually

Perplexing problem showing a .jpg
Please disregard..........I figured it out

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

Simple AND question
Hello,

I've got following code:

Code: if(strpos($row[13],"http://")

Comparing MySql data and arrays.
I have a mysql table set up like this:
idsubjectbodyuseriddatetimetags1blog subjectblog body111|2

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