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

Operator precedence assistance.
I did a quick Google search and couldn't quite find the answer I wanted in terms I could understand,

do while...woes
I'm sure this is childsplay but it is stumping me, everytime i try what I think would make this work

switch form actions? not working
i want on submit to go to different pages according to the CatID

Code: <?php $CatID=$_

I would like "for" to wait 5 sec
I would like my 'for' loop to wait 5 sec before second iteration.


for ($i=0; $i<10

Accessing element of object array
Hello

My object looks like this:


Array ( [0] => User Object ( [id] =>

scandir clients directory
hi,
how can i scandir the clients directory? i need a script that when i click a button it will u

SWF image using php?
Hello once again.

My latest en devour requires me to produce an image of a static .swf that i

Error in SQL Syntax HELP!!!
I have this page:

Code: <?php

session_start();

//connect to server and s

Time-based image rotation script
I'm trying to write a PHP script that rotates an image based on what time of day it is. I want the

retrieving more than one max key from an array?
so i have an array of 20 numerical values (0-100) that i need to order from highest to lowest and th

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