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

GET vs SUBMIT Button to show sections on one index.php page?
Just curious if one of these ways is better (i.e. more efficient) than the other.

I have a

php web service error
hey guys,
I'm working on a project requires the use of web services. I've been trying a few tutor

What are causes of a connection-timeout with fopen()?
Hello! Here is the situation: The server I host my website on just upgraded it's PHP build from 4.4.

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

reating a background image
I am building a site in drupal and have a php form in it, due to certain annoyances with module buil

PHP Upload issue
Hi guys,

I have stumble across an interesting issue with my script and is doing my head in.

How to get variable value on next page
Hello friends
i am working on payentry page ..there i have this code.........

Pspell with my own dictionary
Hello!
I've tested two cases using pspell functions.
1)
Code: $dictionary_link = pspell_new

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

EXplanation help
Hey all,

I am still fairly new to PHP programming and I am trying to put together a page wher

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