php redirecting


Posted on 16th Feb 2014 07:03 pm by admin

i wont open a new thread but i have a question about redirecting....
i wonder why my code doesnt redirect me...

.......
foreach ($_POST as $key => $value)
{
if ($req == '1')
{
if ($value == '')
{header("Location: http://www.mypage.com");}
}
...

No comments posted yet

Your Answer:

Login to answer
120 Like 36 Dislike
Previous forums Next forums
Other forums

$_GET problem
Hi all,

Have a bit of a problem with a little piece of code, I am not sure if this should be

PEAR Email Attachment w/ $gpg
I have no issues with this code if I take out the attachement section and include the info in the em

script and html conflict in trying to create a header.
I have an error is occurring because of an html webpage with a "php require" at the top of

cyrillic string conversion question
Hello,

First time here...

I would like to know if there is a way to convert a

How to display random record from table?
I have the following code:

Code: <?php
$display_block .= "<input type=

DATEDIFF Question
First time post, and of course it is a help question.

I am using a WP plug-in to display prev

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

Will an XHTML DOCTYPE interfere with my PHP if I'm not experienced enough?
I've read this article here: http://friendlybit.com/html/why-xhtml-is-a-bad-idea/

In a nutshe

restricting another login once you logout
Hello,

how can I restrict a page from login authenticating against info in a MySQL DB for a s

Install page
How do I make it so when a user submits information on the Install page, it'll right it into the cor

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