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

extract a file from zip file
hi,
i know how to unzip a zip file in php, but is there a way to just extract a certain file only

Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem.
Some code runs as perfectly valid code,

Breaking results into week blocks
I have a set of dates (and times), which are returned from a mySQL query.

These usually span

need a script for 3 pages
I have a customer who wants me to set up a site with a number of pages with the following requiremen

SQL Query/echo not working
Hey all,

I'm trying to run (what I thought) was a simple operation and it isn't working. I h

simple ping code
been searchin the site/web and found code thats simple but doesnt work.

I have a personal we

Preventing blank or already entered values
Im trying to learn how to place a read file line by line and prevent duplicate entries and also BLAN

Record count of entire database
Does anyone know if there is a way to obtain the number of records in each table of the database usi

random generation
hi

i need help with generating this

numbers from 1-12

i want to generate in ran

The type or namespace name 'ServiceModel' does not exist in the namespace 'System'
When I locally run the website, it works just fine, but when I uploaded it to the hosting environmen

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