Changeset 1108 for trunk/wp-pass.php
- Timestamp:
- 04/20/2004 10:56:47 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-pass.php
r601 r1108 6 6 */ 7 7 require(dirname(__FILE__) . '/wp-config.php'); 8 setcookie('wp-postpass_'.$cookiehash, $ HTTP_POST_VARS['post_password'], time()+60*60*24*30);9 header('Location: ' . $ HTTP_SERVER_VARS['HTTP_REFERER']);8 setcookie('wp-postpass_'.$cookiehash, $_POST['post_password'], time()+60*60*24*30); 9 header('Location: ' . $_SERVER['HTTP_REFERER']); 10 10 11 11 ?>
Note: See TracChangeset
for help on using the changeset viewer.