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

Beginner question regarding Array's
Hi everyone, the page im working on has an array of variable at the top...

Code: $define_li

Simple email form - Newbie
Hello all,

First time poster!

I've been asked to create a simple HTML form that submit

array_combine() trouble w/csv file
I have a problem with a piece of code I wrote to import some records from a csv file into mysql. I h

Selecting an "empty" date formated field
How do you select an "empty" date field? I've tried the few ways I can think.
SQL> select

First root of a number
Hi,

I can't find any function in php to give me the first root of a number.
Is there any

Request.UrlReferrer
I need to make it so that a page can only be loaded when a button is clicked on a specific page. I d

how to get IP address?
hey guys,

i have this code which is supposed to get me the IP address of my site visitors:

tag inside php...
hi


Code: <?php
echo "<td width="$columnWidth%" align=&

form help
this doesn't work. i want the form action to go the location.href of the submit button chosen.. how

Basic Forum Tutorial
Hi, I'm new to PHP. I want to build a basic forum for my site using PHP and MySQL. I've searched t

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