Re: Installing programs from Github Programming Software Development by Reverend Jim … actions for my logitech mouse. I can assign actions, for example, to hmviewer.exe (home movie viewer) rather than python.exe… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim …gt;SMTPSecure = 'tls'; $mail->Username = 'enquiry@example.com'; //SMTP username $mail->Password = '1234567890abcdefg!'; … `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS` // $mail->DKIM_domain = 'example.com'; // $mail->DKIM_private = 'test.key'; // … Online subission forms not sending emails of submitted info Programming Web Development by david.tigner … validation failed, display an error message or take appropriate action // Example: redirect back to the form page with an error message… Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani …-email-with-php-from-an-smtp-server) that has an example implementation of using XOauth2 with PHPMailer. Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain Programming Computer Science by usmanmalik57 …, as shown in the price table. Let's see another example. The following output shows that the model correctly returns the… Re: A module that comes with Python, doesn´t register? Programming Web Development by Reverend Jim … pip command for that package should ALWAYS be included. For example, the command to install the opencv package was not given… Re: How to effectively promote blogger challenge games on the internet? Digital Media Digital Marketing by Dani I guess I'm confused what this project is or does. For example, I am a publisher who operates the publication DaniWeb (this one). I am also an SEO. What benefit would I get from participating? Re: How to disable the automatic swipe effect on the product page? Programming Web Development by Dani … on the page? Can you provide a URL with an example of a product that has video, so I can see… 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: Htaccess Problem Url Friendly Programming Web Development by Dani The .htaccess makes the URL accessible from a friendly URI. However, it does not change any of your HTML code for you. You will still need to modify all of your HTML code to link to the new friendly URI instead of the original URL. 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. Fine Tuning Google Gemma Model for Text Classification in Python Programming Computer Science by usmanmalik57 … sentiments into key-value pairs. ``` def formatting_func(example): text = f"Review: {example['review'][0]}\nSentiment: {example['sentiment'][0]}" return [text] formatting_func…-tuned model. To do so, we will take a single example and convert it to the same format as used for… 7 NLP Tasks to Perform for Free in Python with Mistral 7b LLM Programming Computer Science by usmanmalik57 … a lower value for text translation tasks. Here is an example: ``` input = """ I am feeling hugry, I think… the names of persons, organizations, locations, etc. Here is an example of performing NER in Python with Mistral 7b. ``` input = "… Re: Htaccess Problem Url Friendly Programming Web Development by Dani …you. I'm confused what you mean by "example from database", because it seems your question is …what is being retrieved from the database In your second example, what are the values of BASE_URL and READ_LEX? Additionally,… your .htaccess file said readlex.php but in your example in your previous post, you have read-lex.php. … Re: Htaccess Problem Url Friendly Programming Web Development by Adolfo_1 … from the database as I cannot insert php strings. Example from database example that htaccess makes unfriendly : <em><a… The Rise of AI Scams: Deciphering Reality in a World of Deepfakes Community Center by Johannes C. …’s take a quick look at the mechanics of the example from Hong Kong: This scam is essentially an iteration of… Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace Programming Computer Science by usmanmalik57 …. We have created our vector embeddings. Let's see an example. In the following script, we pass an input query to… Htaccess Problem Url Friendly Programming Web Development by Adolfo_1 … [NC,L] **DINAMIC URL** work fine only with defined CONSTANT: Example <a href="<?php echo BASE_URL.READ_LEX ?>… Re: Htaccess Problem Url Friendly Programming Web Development by Adolfo_1 …. Difference between readlex and read_lex is my mistake Your htaccess example is right except that it doesn't work for me… Re: How to Code a Load More Button? Digital Media Digital Marketing Search Engine Strategies by MarkMarketer …button using JavaScript. Please note that this example assumes that all your data is available…AJAX or Fetch API. Here's a basic example: HTML: <div id="content"…getElementById('loadMore').addEventListener('click', loadMore); In this example, the loadData() function initially loads two items… Re: Help with functions - basics Programming by jkon It seems that the issue has nothing to do with C++ or with functions. If you are new to programming why not try some tutorials in an easy accessible language (like JavaScript for example) and when you understand a few basics ( like null , functions , variables , loops , conditions ) move to a C++ tutorial for beginners ? Re: How to Code a Load More Button? Digital Media Digital Marketing Search Engine Strategies by Dani … we are doing the exact thing here at DaniWeb. For example, check out our [Programming Forum](https://www.daniweb.com/programming… Re: Improve HAVING BY performance Programming Databases by Reverend Jim … aggregate functions might be more computationally expensive than others. For example, SUM() might be more efficient than COUNT() in certain scenarios… Re: Improve HAVING BY performance Programming Databases by Dani I'll give you another example. I've been going to the doctor a lot lately. … Re: What's up with XOAuth? Programming Web Development by toneewa … address $bounceEmail = 'bounce-handler@daniweb.com'; // Compose your bounce email (example) $bmh->setFrom($bounceEmail, 'Bounce Mail Handler'); $bmh->setRecipient… Re: ASUS Laptops - my experience Hardware and Software by rproffitt …. For Intel based laptops I usually try the Intel RST. Example https://www.intel.com/content/www/us/en/download/720755… Re: What's up with XOAuth? Programming Web Development by toneewa [Setting up phpmailer-office-smtp](https://stackoverflow.com/questions/24947434/setting-up-phpmailer-with-office365-smtp) [PhpMailer example](https://github.com/voku/PHPMailer-BMH/blob/master/examples/index.php) Maybe these will help. Re: What's up with XOAuth? Programming Web Development by Dani Unfortunately the first link is for support with PHPMailer itself (totally different library), and the second link is just a generic example of how to use the library which we are already doing. Thank you for trying though! Re: Htaccess Problem Url Friendly Programming Web Development by Dani I suppose I’m not properly understanding your question. Do you mean when you go to the URL in your browser localhost/mysite/readlex.php?slug=Le-mura-di-Lucca it doesn’t load, but when you go to the rewritten URL it works fine?