Jump to content

maicol07

Members
  • Posts

    283
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by maicol07

  1. Ok thanks I'll look at it!
  2. Ok, but with that I lose all WordPress pros, lime themes and plugins and I have to use the hugo themes... And I don't know the control panel of this software...
  3. Sorry but, how this framework will help WordPress speed?
  4. I think this is the cause: [14-Oct-2017 20:24:48 UTC] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0Or mabye this one: [15-Oct-2017 11:24:31 UTC] PHP Warning: file_put_contents(/home/maicol07/public_html/books/wp-content/cache/autoptimize/css/autoptimize_57cab31e8f9c93cab2c32fad337adf53.css): failed to open stream: No such file or directory in /home/maicol07/public_html/books/wp-content/plugins/autoptimize/classes/autoptimizeCache.php on line 59
  5. Hi, Often I get for some seconds the error "Database connection error" in WordPress on frontend and backend. How can I solve it? I've already tried the WP database repair and optimization and the editing of wp-config.php file. Thanks
  6. Thanks! I've already been following you!
  7. Thanks for the info! Please update me if there are news!
  8. Ok thanks! I'm trying your suggestions in the link @Krydos
  9. Hi, Is there a method to speed up WordPress or you can improve something on Tommy? Thanks
  10. Ok, and,indicatively, when will this update coming?
  11. It's for the new function of Google Drive Backup
  12. Hi, Is it possible to get an update for CPanel? Recently CPanel has got version 66 while on HelioHost there is version 64. Thanks
  13. I think it is a bug about the PHP mail function... But I'm not sure... What I'm sure is that it works without it and the email arrives istantly, without imperfections. With /r/n added to the cc header the emails arrives lot of hour later...
  14. It works very well. Thanks!!
  15. So the only thing to change is to indent the html code in the string message and in the final echo?
  16. Ah ok, if I delete it from addon domains will it also delete my files?
  17. Hi, I tried the main domain change on this page: http://www.heliohost.org/classic/support/scripts/domain but after 48 h the domain is maicol07.heliohost.org and not maicol07.tk ... How can I change it? Thanks
  18. I found that the email arrives but extremely late...
  19. Yes, I see The successful one
  20. PHP 5.6. Should I upgrade?
  21. Hi, I wrote a PHP script that sends me an email but I can't receive it. Why? Thanks PHP script: (he gives me error that Mail class doesn't exists) <?php /** * Created by PhpStorm. * User: Maicol * Date: 17/09/2017 * Time: 20:49 */ $post_name=$_POST["name"]; $post_email=$_POST["email"]; $post_message=$_POST["message"]; if ( $post_name ) { $to = "maicolbattistini@live.it"; $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); $subject = "Request from 'About Me' Page"; $message = " <html> <head> <title>Request from 'About Me' page</title> </head> <body> <p>You have received a request from your personal webpage:</p> <table> <tr> <th>Name</th> <th>Email</th> <th>Message</th> </tr> <tr> <td>".$post_name."</td> <td>".$post_email."</td> <td>".$post_message."</td> </tr> </table> </body> </html> "; // 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"; // More headers $headers .= 'From: <noreply@maicol07.tk>' . "\r\n"; $headers .= 'Cc: noreply@maicol07.tk\r\n'; $mail = new Mail(); $mail->setFrom(SITEEMAIL); $mail->addAddress($to); $mail->subject($subject); $mail->body($body); if ($mail->send()) { echo "<script> alert('Email successfully sent!') </script>"; } else { echo "<script> alert('Email not sent! Please contact the administrator')</script>"; } echo "<script> location.href = 'index.php'; </script>"; ?> With PHP mail() function: <?php /** * Created by PhpStorm. * User: Maicol * Date: 17/09/2017 * Time: 20:49 */ $post_name=$_POST["name"]; $post_email=$_POST["email"]; $post_message=$_POST["message"]; if ( $post_name ) { $to = "maicolbattistini@live.it"; $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); $subject = "Request from 'About Me' Page"; $message = " <html> <head> <title>Request from 'About Me' page</title> </head> <body> <p>You have received a request from your personal webpage:</p> <table> <tr> <th>Name</th> <th>Email</th> <th>Message</th> </tr> <tr> <td>".$post_name."</td> <td>".$post_email."</td> <td>".$post_message."</td> </tr> </table> </body> </html> "; // 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"; // More headers $headers .= 'From: <noreply@maicol07.tk>' . "\r\n"; $headers .= 'Cc: noreply@maicol07.tk\r\n'; if (mail($to, $subject, $message, $headers)) { echo "<script> alert('Email successfully sent!') </script>"; } else { echo "<script> alert('Email not sent! Please contact the administrator')</script>"; } echo "<script> location.href = 'index.php'; </script>"; ?>
  22. Thanks wolstech. How can I improve the security? I don't know about improve security... Thanks again
  23. ?
  24. Any solution?
  25. Thanks, I'll try!
×
×
  • Create New...