-
Posts
483 -
Joined
-
Last visited
-
Days Won
1
Everything posted by sagnik
-
Need Help Creating A Icon Font Using Adobe Illustrator
sagnik replied to sagnik's topic in Website Management and Coding
What I'll do with this? I've never worked with svg & Adobe Illustrator. How I can create my own icon set font with only one svg? -
Need Help Creating A Icon Font Using Adobe Illustrator
sagnik replied to sagnik's topic in Website Management and Coding
Actually, I want to make a copy of "fa-facebook-square" of "font-awesome". -
[Solved] Inactive Due To Inactivity
sagnik replied to Amoss's topic in Suspended and Queued Accounts
Welcome. -
[Solved] Inactive Due To Inactivity
sagnik replied to Amoss's topic in Suspended and Queued Accounts
To prevent your account to be suspended due to inactivity, you must have to login to your account at least once in a month through https://www.heliohost.org/login staying logged in from cpanel.yourdomain.com is not enough. I don't know why your account had suspended, but if your account was suspended due to inactivity then you can renew your account from https://www.heliohost.org/renew. Otherwise, the heliohost admins will definitely solve your problem. Secondly, if you've been forced to be logged out from cpanel, it may be because your external ip gets changed. You can view your IP at, http://www.whatsmyip.org/. -
@jotaceYes, the last line also contain a line-break like you did but he had merged the line-break with the header inside the quotation mark so it didn't worked. As it was the last line of his mail headers block, I've removed the line-break. And may beis another reason, the emails he used in the 'from' & 'cc' header it has not configured correctly so the email couldn't send.
-
Ok, I'll try. Thanks for your help.
-
I can't understand, why is developers console saying "Resource interpreted as stylesheet but transferred with MIME type text/html". Here is how it should look (Without HTTPS): Sir, I think, I've identified the problem. The problem is in .htaccess. I've redirected all requests to some directories to the index.php, that's why the Stylesheets loading as html as the request redirects to the index.php instead of "/global/styles.css" as access to the "/global/" directory redirects to "/index.php". But I still need help. I want .htaccess to redirect all requests to the specific directories to "/index.php". In fact, I want to show a forbidden page to those directories but instead of showing a forbidden page I want to redirect the user to the index.php. But not like one how it's working now, I want to redirect when user types in address bar.
-
Hi, I've a strange problem with rendering/styling. My website is working and rendering/styling fine when using http but when I'm using HTTPS, the layout of the Website gets too odd. Here is the screenshot of the Website when using HTTPS: This is what's happening when visiting https://m.whatsnew.cf: And this is what's happening when visiting https://www.whatsnew.cf/mobile: Can anyone please help me?
-
In your case, I don't think, HelioHost Administrators will allow you to operate two accounts. I've already tried to let them understand but they didn't. But I understand that, giving access to more than one accounts violates HelioHost's Terms & Conditions as well as being a free hosting service provider HelioHost is very limited to provide services to more than one accounts of the same person, so I've asked HelioHost Administrators to delete my both accounts and I've made a donation & signed up for a Tommy Account and hosted 3 websites as addon domains. You can also use your 2 account as addon domains.
-
Your welcome!
-
No, actually the problem were in the "\r\n" of cc header. I've marked the line. Remember, when setting the mail headers, the last added header can't contain a line break string, in your case, it was "\r\n".
-
Here is the code (The problem was the new line string): With Mail() class: <?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'; $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>"; } else { echo "FAIL-1"; }*/ ?> 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 = "sagnikganguly@whatsnew.in"; $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); //$lang="EN"; $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'; //<--HERE WAS THE PROBLEM 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>"; } else { echo "FAIL-2"; } ?> Here is the received email screenshot:
-
Give me some time to check the code... I've to execute the code to debug.
-
Actually, I think php mail() works well with php 5.6. Anyway, you have added if...else statement for validation, do you able to see any output like you specified in the "if" block or "else" block? Like, "Email sent successfully" or "Email not sent".
-
I want to create a svg icon font in illustrator. And I did it, but I want to create a transparent icon in illustrator. I mean, I want to create an icon like "fa-facebook-square" of FontAwesome. It's main part ("f" icon) is completely transparent and has a white background. I want to create a avg icon like this. How can I do it?
-
I'm glad that, I could help you. Yeah that's a great idea. It will solve the problems with donations. As I've already said, everyone can't get/afford a credit card. So, everyone can't make a donation as their card is not supported. So anyone, who want to make a donation, they could just use their local Debit Card to purchase a VISA/MasterCard gift card and use that card to make the donation. It's a very good idea.
-
Ok. But as far as I know, Visa/MasterCard Debit Card is accepted anywhere even in online. But I'm not sure that if Visa/MasterCard in US are accepted or not.
-
Well, if the feature is temporarily discontinued and if you are planning to bring that feature back then please implement Debit Card feature as well. Because everyone can't get/afford a Credit card due the restrictions of their banks.
-
As Krydos sir said, if your MasterCard is a credit card then you can donate via https://www.heliohost.org/tommy or you can create an account in PayPal/Skrill.
-
Thanks for the complement & help.
-
SyntaxError: missing } after property list[Learn More] nd2toast.js:21:6 Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.[Learn More] register.php Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end users experience. For more help http://xhr.spec.whatwg.org/ jquery-1.12.4.min.js:4:26272 Error: Syntax error, unrecognized expression: unsupported pseudo: option jquery-1.12.4.min.js:2:12733 The problem is solved. The problem was a ":". var dob=$("#dob #date:option:selected").val()+"-"+$("#dob #month:option:selected").val()+"-"+$("#dob #year:option:selected").val(); The option is a child of select elements, var dob=$("#dob #date option:selected").val()+"-"+$("#dob #month option:selected").val()+"-"+$("#dob #year option:selected").val();
-
here is the line : var dob=$("#dob #date:option:selected").val()+"-"+$("#dob #month:option:selected").val()+"-"+$("#dob #year:option:selected").val(); if I write, alert(dob), my entire function doesn't works but if I comment out or remove the variable my entire code works fine.
-
Let me check Sir I had already searched about the problem on Google, but I couldn't find any solution, so I've created a topic in Helionet. But as you suggested, I've re-checked the link you have provided but I couldn't find anything. Sir, I've just altered some line of the error block. I've added a alert("TEST") before the variable "dob" and then when I've clicked the Next button the alert dialog had shown but when I've removed the alert("TEST") from that line and added it after the variable "dob", then I've clicked the Next button the alert dialog had not shown. And even when I've removed the "dob" variable from the ajax data string and added a simple text "TEST", it worked. So I think the ajax is working fine, the problem is with the "dob" variable. But what could be the problem?
-
ajax not sending/retrieving data. See my code I've added a comment before the error block.