Changeset 1161 for branches/branch-1_6/include/functions.inc.php
- Timestamp:
- Apr 14, 2006, 12:28:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6/include/functions.inc.php
r1157 r1161 537 537 $redirect_msg = $msg; 538 538 } 539 $redirect_msg = nl2br($redirect_msg); 539 540 $refresh = $refreh_time; 540 541 $url_link = $url; … … 921 922 $message_post = "POST ".$_SERVER['PHP_SELF'].html_entity_decode(get_query_string_diff(array()))." HTTP/1.1\r\n"; 922 923 923 foreach (array_flip(array_diff(array_flip(apache_request_headers()), array('Content-Type', 'Content-Length'))) as $header_name => $header_value)924 /* foreach (array_flip(array_diff(array_flip(apache_request_headers()), array('Content-Type', 'Content-Length'))) as $header_name => $header_value) 924 925 { 925 926 $message_post .= $header_name.": ".$header_value."\r\n"; 926 } 927 928 929 // $message_post .= "Host: ".$_SERVER['HTTP_HOST']."\r\n"; 930 // $message_post .= "Cookie: ".$conf['session_name']."=".$_COOKIE[$conf['session_name']]."\r\n"; 927 }*/ 928 $message_post .= "Host: ".$_SERVER['HTTP_HOST']."\r\n"; 929 $message_post .= "Cookie: ".$conf['session_name']."=".$_COOKIE[$conf['session_name']]."\r\n"; 930 931 931 932 $message_post .= "Content-Type: application/x-www-form-urlencoded\r\n"; 932 933 $message_post .= "Content-Length: ".strlen($data_post)."\r\n";
Note: See TracChangeset
for help on using the changeset viewer.