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

JSON SORT WITH PHP
I have two products that I want to sort by say "Id:17, value: xxx" using php
The page w

Return X values where an ID number doesnt matter
Well as for subject heading, thats the best i could think of.

Currently im having a problem w

Problem writing URL into database
How would I write this into the database?

<?php echo "http://".$_SERVER['SER

article site help remaining text
Hi all hope you will be fine
I am creating a article site in this site i want to put some text on

Data storage spaces in varchar2
Trying to understand what's happening.
I am selecting a value from a table that is defined as c

Feed Maker
Hi all.
First of all I must say I am not a php developer so I am afraid I don't know much about i

help with insert
Hi there,

I am trying to insert some data into a database, but for some reason, it is not ins

Using CSS to format MySQL query
Hi,

If i want to have a news page on my site, which displays all records of a table in descen

2 things: enter doesn't work in IE & empty form
i have this search form that works well except for 2 things.

1) on IE when i hit enter instea

Run function every 5 mins ??
I have a function PostMessage()

How can I run it every 5 mins ??

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