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: Determine if email address is used by scammer Digital Media Digital Marketing Search Engine Strategies by rproffitt The police email scam is well known. That's about all you need to know that it's the scam of note. Example: https://www.reddit.com/r/Scams/comments/1b592gr/is_this_real/ r/Scams has many other scams of note. Worth noting: 1. Do not track them down. 2. Ignore, block and report as spam. 3. No police use a Gmail account. 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 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 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… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim In your code where you write `mail($to,$subject,$message,$headers);` if you want to get error messages or "do something if it fails" you need to alter it a bit to something like: if(mail($to,$subject,$message,$headers)){ //if successful do something }else{ //if error do something else } //or… Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt… How to Optimize RecyclerView performance by implementing the ViewHolder Programming Mobile Development by Mikekelvin When working with RecyclerView, always utilize the ViewHolder pattern to improve performance by minimizing the number of findViewById() calls. public class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder> { public static class ViewHolder extends RecyclerView.ViewHolder { TextView textView… Claude 3 Opus Vs. Google Gemini Vs. GPT-4 for Zero-Shot Text Classification Programming Computer Science by usmanmalik57 On March 4, 2024, [Anthropic](https://www.anthropic.com/) launched the [Claude 3 family of large language models](https://www.anthropic.com/news/claude-3-family). Anthropic claimed that its Claude 3 Opus model outperforms GPT-4 on various benchmarks. Intrigued by Anthropic's claim, I performed a simple test to compare the performances of Claude … How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Hanginium65 I wrote a Python script that included the python-swiftclient module to connect to the OpenStack Object Storage and upload some files to the OpenStack Object Storage container It works great if I upload a file that ends with the extension .gz however, I’m getting an error regarding the ‘TarFile’ object having no attribute ‘read’ after running my … Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Hanginium65 Good day, Salem. My apologies for taking so long to reply to your suggestion. I refactored my code to read the contents of the tar.bz2 file and then pass them as a file-like object to the 'put_object' and also to change the content type for the file transfer to "application/octet-stream". The first was sent through to object storage … VB2010- why i get a different vertical size\color on RayCasting? Programming Software Development by cambalinho these is the VB6 function for RayCasting: Private Sub DrawRays() Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long… Re: i don´t understand this syntax error when using OpenCV Programming Databases by Audun Thanks. That sorted it. Now, I have a new problem.. I tried the two variations of quotation marks, without the backslash, and got this: >>> %Run 'open cv - tot.py' Traceback (most recent call last): File "C:\Users\Audun Nilsen\open cv - tot.py", line 8 image = cv2.imread("C:\Users\Audun Nilsen\Pictures\… Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book > Google won’t get confused as long as you implement 301 redirects from non-www to www. I have code in `.htaccess` file ` # Redirect non-www to www RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L] ` Is this good enough? I also have another question related to seo. I … Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book Just as an update to this thread. I noticed weird link structure getting indexed on google after i created the new property with `www` version. Take a look how my links are getting indexed https://www.kupisi.mk/product/index.php?mainCategory=за-дома&productName=елегантен-кујнски-мијалник-од-нерѓосувачки-челик&product_id=44… Re: Do you participate in any other communities? Community Center Geeks' Lounge by Salem Yeah, there are sub-reddits for most languages and programming in general. I'm spending way too much time in https://www.reddit.com/r/C_Programming/ for example. There's the usual collection of helpful people, pedants, trolls and idiots - but that's true anywhere. The mods seem to be keeping it ticking over nicely. Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner I do not have access to the PHP error log nor do I know how to check to see if mail() is returning false. The coding I'm using has worked (e.g. sent email with submitted info) for 13 years and now stopped working. My URL/PHP provider, Ionos, claims it won't send because all recipient email addresses need to be authenticated and a new STMP PHPmailer… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Re: Biiim's post, the coding you suggest to get error messages looks like something good to try and the PHP Mailer stuff looks the same as the generic code I got from Ionos. It sounds like all these methods are appearing favorable for solving the problem. This kind of troubleshooting can be very frustrating so thanks for your help. Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani I wonder if the problem is that your php mail() function is configured to use SMTP in your php.ini file. A lot of SMTP servers switched over the past year or so to using XOAuth2 for authentication. A username + password in your config settings will no longer suffice to establish a connection. You can see me complaining about it [here](https://www.… 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 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: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem I don't understand why you need to extract all the files from the compressed `tar.bz2` just to upload to a backup. Also, line 69 is now meaningless having just posted only a snippet of the code. Before the error, what was the last `logger.info` message? 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 … Converting PDF Image to CSV Using Multimodal Google Gemini Pro Programming Computer Science by usmanmalik57 In this article, you will learn to use [Google Gemini Pro](https://blog.google/technology/ai/google-gemini-ai/), a state-of-the-art multimodal generative model, to extract information from PDF and convert it to CSV files. You will use a simple text prompt to tell Google Gemini Pro about the information you want to extract. This is a valuable skill … ChatGPT ‘Lobotomized’? Performance Crash Sees Users Leaving in Droves Community Center by Johannes C. **ChatGPT has had lazy days before, but this week’s performance marks an unprecedented low. Here’s why many ChatGPT Pro users are canceling their subscriptions – and even more might follow.** ![lobotomized-chatgpt.jpg](https://static.daniweb.com/attachments/4/7421f2d25c68fdee20e906d1ae1bfec9.jpg) Yes, complaints about ChatGPT being lazy have … Use of the Word ‘Tapestry’ in Web News More Than Doubled Last Year Community Center by Johannes C. **Tracing AI-generated content in online news articles with corpus linguistics** ![tapestry-header.JPG](https://static.daniweb.com/attachments/4/c8a5b32abaf78b39bdcb75f328580e4a.JPG) *A query in the 'News on the Web' Corpus reveals that the use of the word 'tapestry' in online articles has more than doubled last year – from 3,085 instances in … PDF Image Table Extractor Web App with Google Gemini Pro and Streamlit Programming Computer Science by usmanmalik57 In my previous article, I explained [how to convert PDF image to CSV using Multimodal Google Gemini Pro](https://www.daniweb.com/programming/computer-science/tutorials/541365/converting-pdf-image-to-csv-using-multimodal-google-gemini-pro). To do so, I wrote a Python script that passes text command to [Google Gemino Pro](https://blog.google/… Fine Tuning Google Gemma Model for Text Classification in Python Programming Computer Science by usmanmalik57 On February 21, 2024, Google released [Gemma](https://ai.google.dev/gemma), a family of state-of-the-art open-source large language models (LLMs). As per initial results, its 7b (seven billion parameter) version is known to perform better than Meta's [Llama 2](https://llama.meta.com/), the previous state-of-the-art open-source LLM. As always, my… Devin Might Be Fake, Yet AI's Threat to Jobs Is Real. Community Center by Johannes C. **The creators of an automated software engineer tout their AI's capability to independently tackle complete coding projects, including actual tasks from Upwork. While skepticism is warranted regarding Devin's authenticity, the risk of AI displacing professionals across numerous fields is undeniable.** ![will-code-for-food.jpg](https://static.…