Question : Some variables do not use GET data presented in URL

Would anybody have any idea why some variables in the attached php document fail while others function properly. The values are presented properly, that is from what I can tell. I've noted which variables fail.

THIS IS THE URL THAT CALLS ON THE PHP DOCUMENT BELOW:
TEMPERMENTAL.php?rTitle=Mr.&rFname=FirstName&rMname=M.&rLname=LastName&rEmail=sasnakt[email protected]om&aTitle=Mr.&aFname=Sas&aMname=J.&aLname=Naktiv&aEmail=sasnaktiv@gmail.com&A_font=Comic%20Sans%20MS,%20cursive&F_color=#FFFFFF&BG_color=#960B18&BodyText=Body%20text%20here%20#%203&Headline=Headline%20text
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
<?php
session_start();

$A_Title=$_GET['aTitle'];
$A_eMail=$_GET['aEmail'];
$A_FirstName=$_GET['aFname'];
$A_MiddleName=$_GET['aMname'];
$A_LastName=$_GET['aLname'];

$R_title=$_GET['rTitle']; 
$R_f_name=$_GET['rFname']; 
$R_m_name=$_GET['rMname']; 
$R_l_name=$_GET['rLname'];
$R_eMail=$_GET['rEmail'];

$A_font=$_GET['A_font'];
$F_color=$_GET['F_color'];
$BG_color=$_GET['BG_color'];
//$F_color='#FFFFFF'; $BG_color='#1F52F7';

$RawHeadlineText=$_GET['HeadlineText'];
$HeadlineText=stripslashes($RawHeadlineText);

$RawBodyText=$_GET['BodyText'];
$BodyText=stripslashes($RawBodyText);

   print "  <CENTER>
<table border=1  width='575' cellpadding='0' cellspacing='0' style='margin-left:50px;margin-right:auto;text-align:left'>
<tr>
     <td width=551   height=100% bgcolor='$BG_color'>
	<div   align='left' Valign='center' colspan=1   height='16'   style='FONT-SIZE:16px; font-family:$A_font; color: $F_color'>
	<P>
	<UL>	
	
A_Title: $A_Title
<BR>
A_FirstName: $A_FirstName
<BR>
A_MiddleName: $A_MiddleName
<BR>
A_LastName: $A_LastName
<BR>
A_eMail: $A_eMail
<P>
R_title: $R_title
<BR>
R_f_name: $R_f_name 
<BR>
R_m_name: $R_m_name 
<BR>
R_l_name: $R_l_name
<BR>
R_eMail: $R_eMail

<P>	
HeadlineText: $HeadlineText   <!-- This fails -->
<P>
BodyText: $BodyText           <!-- This fails -->

<P>	
BG_color: $BG_color           <!-- This fails -->

<P>
A_font: $A_font
<BR>
F_color: $F_color	          <!-- This fails -->

	<P>
	&nbsp;		
	<P>
	</UL></div>
	<div   align='left' Valign='center' colspan=1   height='16'   style='FONT-SIZE:10px; font-family:$A_font; color: $F_color'>
The URL that calls up this document: (TEMPERMENTAL.php?rTitle=Mr.&rFname=FirstName&rMname=M.&rLname=LastName&[email protected]&aTitle=Mr.&aFname=Sas&aMname=J.&aLname=Naktiv&[email protected]&A_font=Comic%20Sans%20MS,%20cursive&F_color=#FFFFFF&BG_color=#960B18&BodyText=Body%20text%20here%20#%203&Headline=Headline%20text)
	</div>
</td>
</tr>
</table>
</center>
";
?>

Answer : Some variables do not use GET data presented in URL

HeadlineText is failing because the name is Headline, not HeadlineText

Others are failing because they have # character. change it to %23
Random Solutions  
 
programming4us programming4us