Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner This one is becoming more perplexing. After adding in the PHPMailer coding, page would crash (e.g. blank white screen, HTML file that would display the screen doesn't even start at all, e.g. error in the 1st running PHP file). Adding the semi-colon at end of line 18 (in previously discussed code) did not work and funny thing is, the original coding… Re: Online subission forms not sending emails of submitted info Programming Web Development by Chris_103 It seems like you're experiencing issues with PHP-based email functionality, where submissions are not triggering emails to be sent. Let's dive into the code snippet you provided and see if we can identify any potential issues or improvements. Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Read a Book But i am generating the JSON code dynamically. If there is no video than i hide the VideoObject tag with if statement. Should i just remove the `itemscope itemtype="http://schema.org/VideoObject"` Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Read a Book Hello everyone, i am not able to fix this issue in the Search Console `Video is not the main content of the page` but actually it is! When you enter in my product page the first thing that appears is the video it self! (hosted on imgur platform) I even added additional Schema video tags but that seems is useless. here is the code i am … Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Ran into some new issues. Here goes. In order to download PHPMailer, must download Composer. In order to install Composer, need a Command Line PHP.exe file. I do not have one of these. I have been using PHP services from URL provider, 1 & 1/Ionos since 2011. They said in order to get a Command Line PHP.exe file, requires SSH to 'Connect to … Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim You don't need composer or access to the php.exe. just locate the PHPmailer Directory into your web root, to keep it simple and the require links should point to where it is located. mine is `require 'includes/PHPMailer/src/PHPMailer.php';` cause I put it in a folder called includes, this should be relative to the file that is using it.… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner More problems. I incorporated the coding Biiim provided. Before any changes, after submission, would display the correct (yellow) screen. After code changed, not only will still not send email but screen turns blank white. URL provider, IONOS, told me that the Host is smtp.ionos.com and the Username and password are for an email address associated … Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani > After code changed, not only will still not send email but screen turns blank white. That's a PHP fatal error. It could be a syntax error, or it could also be that PHPMailer is not in the location you're telling PHP to look. Do you have any way of accessing the error log? Without access to the server, perhaps through a web-based control … Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani To clarify, I am suggesting: [...] //make your email body to send here $survey = "RadiantNewHorizonHomes.com General Inquiries" . "\r\n" . "\r\n" . "Name: " . $_POST['Name'] . "\r\n" . "E-mail Address: " . $_POST['Email'] . "\r\n&… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim Hi David, > More problems. I incorporated the coding Biiim provided. Before any changes, after submission, would display the correct (yellow) screen. After code changed, not only will still not send email but screen turns blank white. URL provider, IONOS, told me that the Host is smtp.ionos.com and the Username and password are for an email… Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani Is that what you want your preferred URLs to look like? Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani You are correctly implementing 301 redirects in an .htaccess file. Ensure that the redirects point to the exact same URL as you have in the canonical. Additionally, ensure that all internal links throughout your site point to that same URL as well. Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by bijutoha I've noticed this: We can locate the solution when I submit my website to GSC. ![www-non-www-bijutoha.png](https://static.daniweb.com/attachments/4/0a9e8f11115e2ecf94e9000eeffef05e.png) Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani I guess that’s changed since I submitted my site what I feel like is at least a decade ago. Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by ani03 If you using the permanent redirection then there is No problem, when the user enter your non www version it redirects to www version. As Dani told you have to change your Google Analytics property and google Search Console property from non www to www version. Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by AndyBeohar Changing your website from non-www to www can have benefits for SEO consistency and branding, but the impact may vary depending on your specific circumstances. It's generally considered a good practice for long-term SEO, as it can help standardize your URL structure and improve domain authority. However, it's important to implement proper redirects… Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by jofrachalya142 This doesn't matter as much in terms of SEO and as per my experience it ain't a ranking signal, it just help the users to open the website if they search it using "www". Adding on, it just help you in technical aspects. Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Read a Book BUMP. Anyone can help with this issue ? :/ Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Dani I’ll take a look at this tomorrow. I’m currently in bed :) Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Dani You have the itemtype set to a VideoObject but, as you point out, only sometimes is there actually an .mp4 file. The rest of the time, it's a static image such as a png, jpg, or jpeg. Google probably doesn't trust your meta tags since they are inaccurate half the time. Online subission forms not sending emails of submitted info Programming Web Development by david.tigner About a year ago, I had a similar issue except then system would crash after pressing Submit. The issue was caused because of PHP 8 incompatibility problems. However, got the coding to fix all of that and things worked good again and with PHP 8. But now something new is happening. Now, when Submit is pressed, system doesn't crash and goes to the … Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace Programming Computer Science by usmanmalik57 In a previous article, I explained [how to fine-tune Google's Gemma model for text classification](https://www.daniweb.com/programming/computer-science/tutorials/541544/fine-tuning-google-gemma-model-for-text-classification-in-python). In this article, I will explain how you can improve performance of a pretrained large language model (LLM) using … Re: Postfix authentication problem Hardware and Software Linux and Unix by chickenbirds > I am trying to set-up Postfix on my Ubuntu local web development machine for send-only e-mails using Gmail so I can test e-mails sent by a web app I am developing. Even though this is an old post I wanted to reply as I found it while trying to setup my own postfix mailrelay on my private cloud server with Debian that hosts our small … ABC for Github-programs and Python Programming Software Development by Audun Hi I want to make use of GitHub-programs, and so I downloaded a bunch of Python-tools. When I run this command in "Python 3.12", which looks like CMD to me, I get a syntax error. "To create a virtual environment, Python supplies a built in venv module which provides the basic functionality needed for the virtual … Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book I have made a change to my website from `non-www` to `www` since i saw many google owned websites use `www` in front of the domains.. so i though why not me too. But after making the change i did a google search on the same topic and came up to many different answers from the communities. I also ask BARD and ChatGPT about the same topic and they… Re: DomContentLoaded vs jQuery Ready fn Programming Web Development by toneewa jQuery's ready() works asynchronously, even if the DOM is already ready, which keeps your code running consistently. jQuery simulates the non-existent DOMContentLoaded event on obsolete browsers like Internet Explorer, using deferred execution, that fires later than the real event in other browsers, making sure it doesn't run too early. … Re: Extracting values from capturing groups in regex Programming Software Development by Tom_45 It's a long one, but here it is. <head><title>Popular Baby Names</title> <meta name="dc.language" scheme="ISO639-2" content="eng"> <meta name="dc.creator" content="OACT"> <meta name="lead_content_manager" content="JeffK"&… Re: ASUS Laptops - my experience Hardware and Software by toneewa USB-C ports can wear out, and become loose after 6 months of use. I've heard there was a dip in quality from ASUS. I haven't experienced it myself. I have 2 monitors from them, 1 has over 73,500 hours and ~98% uptime. Ironically, I was looking at this [ASUS Vivobook](https://www.bestbuy.com/site/asus-vivobook-16-laptop-amd-ryzen-7-5800hs-with-12gb-… Re: How to disable the automatic swipe effect on the product page? Programming Web Development by Read a Book @kimnancy I tried contacting them for over 2 weeks... Their customer support is non existent P.S i still have the same problem... i still cannot disable the auto swiping effect... Tried to learn the lightgallery docs. but cant find relevant info Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani The first thing I will say is never output `$_POST[]` content directly into the HTML without escaping it first. You are leaving yourself wide open to an HTML injection attack. Not only that, but you're also leaving yourself open to invalid HTML. All it takes is to wrap your user-sent variables with htmlspecialchars to make sure they're HTML-escaped…