Click here to Skip to main content
12,762,900 members (40,149 online)

Web Development

 
GeneralRe: Heading text alignment problem Pin
Mark F.10-Nov-13 6:16
memberMark F.10-Nov-13 6:16 
AnswerRe: Heading text alignment problem Pin
Peter Leow11-Nov-13 18:49
professionalPeter Leow11-Nov-13 18:49 
GeneralRe: Heading text alignment problem Pin
Mark F.19-Nov-13 6:15
memberMark F.19-Nov-13 6:15 
Questionuse MySQL's but as true || false Pin
Jassim Rahma7-Nov-13 13:47
memberJassim Rahma7-Nov-13 13:47 
QuestionActiveX Control Permissions Pin
Richard Andrew x647-Nov-13 13:20
professionalRichard Andrew x647-Nov-13 13:20 
AnswerRe: ActiveX Control Permissions Pin
shalu_june1412-Nov-13 11:33
membershalu_june1412-Nov-13 11:33 
Questioninsert variable from include file Pin
Jassim Rahma5-Nov-13 9:44
memberJassim Rahma5-Nov-13 9:44 
QuestionThis webpage has a redirect loop Pin
Jassim Rahma5-Nov-13 0:46
memberJassim Rahma5-Nov-13 0:46 
Hi,

Why I am getting the above error! it's making me crazy!

the url shown for this error on chrome is memberhome.php

I am not getting this error on my localhost but only getting it when I upload my website to the host

here is the code for it:

include 'includes/php_header.php';

// require 'PHPMailer/class.phpmailer.php';
// require 'twilio-php/Services/Twilio.php';
require 'includes/connect2db.php';

if (!isset($_SESSION["member_loggedOn"])) { exit(header("Location: signin")); }

// include 'includes/connect2db.php';
$mysql_command = "CALL sp_get_member_personal_information(:param_member_guid)";

$mysql_query = $mysql_connection->prepare($mysql_command);
$mysql_query->bindParam(':param_member_guid', $_SESSION["member_guid"], PDO::PARAM_STR);

$mysql_query->execute();

$mysql_row_count = $mysql_query->rowCount();

if ($mysql_row_count <= 0) { exit(header("Location: signin")); }

while ($mysql_row = $mysql_query->fetch())
{
    $member_title = $mysql_row["member_title_name"];
    $member_full_name = $mysql_row["first_name"] . ' ' . $mysql_row["middle_name"] . ' ' . $mysql_row["last_name"];
    $member_brief_introduction = $mysql_row["brief_introduction"];
}




Technology News @ www.JassimRahma.com

AnswerRe: This webpage has a redirect loop Pin
thatraja5-Nov-13 0:55
mvpthatraja5-Nov-13 0:55 
AnswerRe: This webpage has a redirect loop Pin
Kornfeld Eliyahu Peter5-Nov-13 1:03
professionalKornfeld Eliyahu Peter5-Nov-13 1:03 
GeneralRe: This webpage has a redirect loop Pin
Jassim Rahma5-Nov-13 1:09
memberJassim Rahma5-Nov-13 1:09 
AnswerRe: This webpage has a redirect loop Pin
Kornfeld Eliyahu Peter5-Nov-13 1:16
professionalKornfeld Eliyahu Peter5-Nov-13 1:16 
Questioncustom url include in php Pin
Jassim Rahma5-Nov-13 0:03
memberJassim Rahma5-Nov-13 0:03 
AnswerRe: custom url include in php Pin
thatraja5-Nov-13 3:24
mvpthatraja5-Nov-13 3:24 
QuestionGathering user computer information via web part/page Pin
BrentW824-Nov-13 7:15
memberBrentW824-Nov-13 7:15 
QuestionDisable Ajax Load On Wordpress Post Pin
Member 102891603-Nov-13 8:02
memberMember 102891603-Nov-13 8:02 
Questionhow to override the DC.title? Pin
Jassim Rahma3-Nov-13 1:22
memberJassim Rahma3-Nov-13 1:22 
Questionbest way to save and use date Pin
Jassim Rahma2-Nov-13 2:08
memberJassim Rahma2-Nov-13 2:08 
AnswerRe: best way to save and use date Pin
Richard MacCutchan2-Nov-13 7:02
mvpRichard MacCutchan2-Nov-13 7:02 
GeneralRe: best way to save and use date Pin
Jassim Rahma2-Nov-13 8:28
memberJassim Rahma2-Nov-13 8:28 
GeneralRe: best way to save and use date Pin
Richard MacCutchan2-Nov-13 8:40
mvpRichard MacCutchan2-Nov-13 8:40 
Questionwhy getting: argument for routine is not a variable?! Pin
Jassim Rahma2-Nov-13 0:29
memberJassim Rahma2-Nov-13 0:29 
QuestionMVC4 Ajax Call does not reach controller Pin
MYSHKSL1-Nov-13 11:43
memberMYSHKSL1-Nov-13 11:43 
SuggestionRe: MVC4 Ajax Call does not reach controller Pin
Richard Deeming1-Nov-13 11:51
professionalRichard Deeming1-Nov-13 11:51 
Questionhow to header("Expires") in php Pin
Jassim Rahma1-Nov-13 9:42
memberJassim Rahma1-Nov-13 9:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 26 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid