Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
p/invoke
- Page 1
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
9 Hours Ago
by david.tigner
My 4 domains are all through URL provider IONOS. The question is why does the sender's email address as entered on the front end of the on-line submission form have to have the same ending as the domain name of the site or one of the other 3 or else submitted info fails to send ?
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
5 Hours Ago
by david.tigner
That's a problem. The email addresses issued for @RadiantNewHorizonHomes.com or 1 of the other 4 are created by me. Unknown parties that submit online forms on one of my domains would not have one of these email addresses. I would want to receive the submitted info from senders of any email address like has been since 2011 until Feb 2024. This is …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
3 Hours Ago
by david.tigner
There is no making emails "appear" to be from other than the true sender. I'll explain further. Suppose John Smith has an email address of johnsmith@gmail.com. John then goes on to one of my sites, lets say RTO-USA.net, and fills out an online submission form and enters his email address truthfully (johnsmith@gmail.com). This email …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Hours Ago
by david.tigner
If John isn't the sender then who is ? Also, continuing from the John Smith example, if John Smith enters his email address as johnsmith@SubterraneanSoundStudio.com or johnsmith@RTO-USA.net (ficticious email addresses) then the submitted info would be emailed to me but if he uses his true email address then it would not. Continuing from this …
Retrieval Augmented Generation with Hugging Face Models in LangChain
Programming
Computer Science
5 Days Ago
by usmanmalik57
… = create_retrieval_chain(retriever, document_chain) ``` Finally, you can call the `
invoke
()` method on the retrieval chain to get customized responses based…model's reply. ``` def generate_response(query): response = retrieval_chain.
invoke
({"input": query}) return response["answer"] query…
Re: Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
1 Day Ago
by aishamushtaq
very helpful
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
5 Days Ago
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
3 Days Ago
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: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Day Ago
by Biiim
I checked my code and I only found 2 differences, the first is the 2 `use` commands before the require: use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require 'includes/PHPMailer/src/Exception.php'; require 'includes/PHPMailer/src/PHPMailer.php'; require 'includes/PHPMailer/src/SMTP.php';…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Day Ago
by david.tigner
I just discovered some new information on why the online submission pages weren't sending as during some testing I discovered there was a way for the submitted info to be sent. Here it is. I have online submission pages on 4 websites: RadiantNewHorizonHomes.com, RTO-USA.net, SubterraneanSoundStudio.com and RebHellionRecords.com. Each of these 4 …
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
5 Days Ago
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"`
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
…processes the input query. Finally, you can call the `
invoke
()` method to run the query via the agent. ``` …agent_type="openai-tools", verbose=True) response = agent_executor.
invoke
(query) return response ``` ## Generating Response from PostgreSQL Database Generating…
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
1 Week Ago
by usmanmalik57
…retrieval_chain = create_retrieval_chain(history_retriever_chain, document_chain) result = retrieval_chain.
invoke
({ "chat_history": [], "input":… chat_history = [] def generate_response_with_memory(query): result = retrieval_chain.
invoke
({ "chat_history": chat_history, "input":…
Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
2 Weeks Ago
by Read a Book
… seems is useless. here is the code i am using:
P
.S: `$image4` variable sometimes can contain video link or image…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
3 Weeks Ago
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
3 Weeks Ago
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
2 Weeks Ago
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
2 Weeks Ago
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
2 Weeks Ago
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
2 Weeks Ago
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
4 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
1 Week Ago
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
1 Week Ago
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
1 Week Ago
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.
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
… output_parser = StrOutputParser() chain = prompt | llm | output_parser result = chain.
invoke
( {"assistant": "You are a comedian", "…the final response. ``` def generate_response(query): response = retrieval_chain.
invoke
({"input": query}) print(response["answer"]) …
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
… = create_retrieval_chain(history_retriever_chain, document_chain) result = retrieval_chain.
invoke
({ "chat_history": chat_history, "input… chat_history = [] def generate_response_with_memory(query): result = retrieval_chain.
invoke
({ "chat_history": chat_history, "input":…
Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
….php"; // foreach ($_POST as $key => $value) { //echo '<
p
><strong>' . $key.':</strong> '.$value.'<…;/
p
>'; //} // your secret key $recaptcha_secret_key = "6LeW4RQUAAAAAJ4NvgWIKJc4b-AeKp6LcLFCFQoS"; // empty …
Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace
Programming
Computer Science
1 Month Ago
by usmanmalik57
… and unzip the dataset into your Google Colab directory. ``` !mkdir -
p
~/.kaggle !cp kaggle.json ~/.kaggle/ !chmod 600 ~/.kaggle/kaggle.json…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC