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

Displaying image pathname instead of image
Hello

Im trying to upload and then display images from a mysql database - Its only basic and

in php, link returns to the line
When I add a link in a php page, the link word returns to the line (as a
would do)

Examp

Gridview Not updating in Update Panel
I have a gridview, three dropdown list boxes, and a button on my form. What is displayed in the gri

Simple AND question
Hello,

I've got following code:

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

no idea what to do...
I'm fed up. I had issues with code that I have working on a different site that didn't work on my cu

I got my hosting suspended XD
So I saw this challenge a day or so ago

http://www.programming-challenges.com/pg.php?page=dow

problem with php mysql query
Hi guy's...

I'm totally lost here..because don't have any idea how to make a query for grab r

re calling a function without including file
Hi,
i am new to programming in php, i was just checking the wordpress code and found out in the w

jquery validation in codeIgniter
hai i need to add client side validation to my fiels which are selected in a forloop.the fields are

login and redirect
hello! can someone help me.. can you give me an idea.. I want to make a login page and redirects it

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