Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Comments for: ian_gilfillan20050801

Message # 1509936:
Date: 04/25/07 00:06
By: Forrest Milkowski
Subject: header doesn't send entire message

My header isn't sending the entire string. Here is the statement:

header:("Location: $missing_fields_redirect?errormsg=$msg");

$msg has the following string assigned to it:

"The following fields must be completed:

Last name: Is Missing.
Address: Is Missing."

But I am only seeing the first part. Here is what the URL conatins: "l/missing.php?errormsg=<br>The%20following%20fields%20must%20be%20completed:<br><br><b>Last%20name:</b>%20%20Is%20Missing.<br>"

The code to construct the the message is:

$msg = trim($msg_array[1]);
header ("Location: $missing_fields_redirect?errormsg=$msg");

and the code to retreive the message is:
<?php
echo $_GET['errormsg'];
?>

Can you help me with why my message is being trunkcated.

Regards,

Forrest

Previous Message | Next Message


Comments:
header doesn't send entire messageForrest Milkowski04/25/07 00:06
Accessing HTML Form VariableHari Babu Dornala04/07/07 05:04
nice way to view info in superglobalsJesse Kaufman08/25/05 12:27
RE: http_referer is not workingmeglittlemeg08/21/05 04:35
http_referer is not workingaaaa08/17/05 05:35
It's NiceK Sudhir08/04/05 07:06
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.