Jump to content

xaroiant

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by xaroiant

  1. Hi,

     

    I have a forgot password page on my website (custom coded)

     

    I am trying to send reset password emails. The first one went through and here is the code for it:

           $to = $email;
           $subject = "Staff - Password Reset";
           // Always set content-type when sending HTML email
           $headers = "MIME-Version: 1.0" . "\r\n";
           $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
           $headers .= "From: admin@differentcraft-staff.tk";
           $message = "
           <html>
           <head>
           <title>Password Reset</title>
           <body>
           <h1>Password Reset</h1>
           <p>You are receiving this email because your username and email were used at our <a href='https://differentcraft-staff.tk/forgot'>password reset</a> page.</p>
           <p>To reset your password, please click on <a href='https://differentcraft-staff.tk/reset/".$resetcode."'>this</a> link.</p>
           <p>If this link does not work, please go to <a href='https://differentcraft-staff.tk/reset/".$resetcode."'>https://differentcraft-staff.tk/reset/".$resetcode."</a></p>
           <p>If you did not request this password reset, you can safely ignore this email!</p>
           </body>
           </html>
           ";
           mail($to, $subject, $message, $headers);
    
    Note that the opening and closing PHP tags are there.

     

    I am slightly confused as to why this is happening and would appreciate any help you guys can give me.

     

    Thanks for reading,

    Redstone

  2. Hello,

     

    Composer is a ".phar" file which is a PHP Archive. This is used for big applications where they want to use Composer to manage installs of plugins and the software itself.

     

    The problem is that Composer requires that commands be entered from the command line.

     

    Is there a way for us to have access to this or are we not able to use Composer?

     

    Thanks,

    xaroiant

  3. Hi,

     

    My username is "xaroiant" and I am on the "Ricky" server. It appears that my IP has been blocked even though it was fine 24 hours ago and I have not logged in.

     

    Please could my IP be unblocked?

     

    Thanks in advance,

    xaroiant

  4. Hi,

     

    My main domain http://xaroiant.ml works. However, my addon domain http://differentcraft-staff.tk is showing an inactivity page. Also, I have disabled HTTPS on the addon domain but it is still showing a privacy error.

     

    I have accessed my cPanel less than 24 hours ago so this does not sound right. Hosted on the Ricky server.

     

    Please can someone help me ASAP?

     

    Thanks,

    xaroiant



    Never mind.

     

    It seems as though it was just going through a setup phase.

     

    Requesting thread marked as solved and locked.

×
×
  • Create New...