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

Php script to read msword file
hi,

I need to read a msword file and i want to print the contents in that word file.

i

data type in column definition
Hi,
I create a table with column called "Direction of Travel code ".
The travel codes in t

upload image name with extension using php
hi frds..

<input id="file1" type="file" name="file[]" &a

Need Help with a query
Hello,
For some reason I am just not getting the right answer when I do this query and not quite

Time script, set to my time zone?
I am using this line to get the date and time

Code: $time = date(F." ".d.", &q

storing video files into mysql in php
hi

i have my video files in my folder ,
i have to store the path of the videos into db an

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

Undefined index on my form
ok im getting Undefined index on this line.. print_r($_REQUEST['form']);

below is the full sc

Storing the referrer in session... problems with tabs
Hello All

I am currently working on an ERP project based on the MVC methodology, when a user

Storing Values taken from a DB...
Using this code it will generate a short list from my database

<?php
mysql_connect

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