Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
application
- Page 1
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
3 Days Ago
by usmanmalik57
… The script below imports the required libraries into our Python
application
. ``` from langchain_community.document_loaders import YoutubeLoader from langchain_openai import ChatOpenAI …chat_history` list. Thanks to the' chat_history' list, the command line
application
will be able to answer follow-up questions. ``` chat_history = []…
Alteryx Upgrade - No workflow data in Gallery
Hardware and Software
5 Days Ago
by saichinnu1852
We are working on upgrading our Alteryx
application
as well as the MongoDB version. We have created a …
Re: Create And Install Windows Service Step By Step In C#
Programming
Web Development
6 Days Ago
by rproffitt
Since the answer would be many pages long, read https://learn.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-
application
-in-the-component-designer and consider the two other pages noted there.
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Salem
…object_netbox_2024-03-16.psql.gz', contents=file, content_type='
application
/octet-stream' ) with open('/var/backup/netbox_backups/…'object_netbox_media_2024-03-20.tar.bz2', contents=file, content_type='
application
/octet-stream' ) It kinda depends on what `…
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
… information about the Paris Olympics ticket price. In a Python
application
, you will use the OpenAI API key to generate Chat… in an environment variable and retrieve it in your Python
application
via the following script. ``` openai_key = os.environ.get('OPENAI_KEY2') ``` Next…
How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Hanginium65
…'object_netbox_2024-03-16.psql.gz', contents=file, content_type='
application
/gzip' ) # Confirm the presence of the object…'object_netbox_media_2024-03-20.tar.bz2', contents=file_tar_bz2, content_type='
application
/x-tar' ) # Confirm the presence of the…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
2 Weeks Ago
by Hanginium65
… change the content type for the file transfer to "
application
/octet-stream". The first was sent through to object… in the archive as your object name... contents=file_like_object, content_type='
application
/octet-stream' # Set the appropriate content type... ) Below is the…
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
1 Week Ago
by usmanmalik57
… ado. ## Installing and Importing Required Libraries To connect your Python
application
with PostgreSQL and MySQL, you must install the PostGreSQL and…
Re: Installing programs from Github
Programming
Software Development
3 Weeks Ago
by Reverend Jim
… called pyinstaller which you can use to wrap a python
application
as an executable (.exe). I find ths useful when I…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week Ago
by toneewa
… frame size to 520x540 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // Close the
application
when the frame is closed frame.setVisible(true); } private static…
How to Optimize RecyclerView performance by implementing the ViewHolder
Programming
Mobile Development
1 Week Ago
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…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
2 Weeks Ago
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?
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
4 Weeks Ago
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
4 Weeks Ago
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: Online subission forms not sending emails of submitted info
Programming
Web Development
3 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
2 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
2 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
1 Week 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
1 Week 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
1 Week 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
1 Week 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…
How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
1 Month Ago
by A_957
…of an access violation exception that occurred within my
application
. This type of error apparently usually points to … I am attempting to create an interactive web
application
In Python Flask where users can input text and…learning model, specifically using a model from gpt4all. The
application
uses Flask, a Python web framework, for the backend…
AI Frontier 2024: A Rapid Start to a Transformative Year
Community Center
2 Months Ago
by Johannes C.
… has shown us an accelerated pace in AI development, expansive
application
ranges, and an intensifying race towards achieving AGI. Discover the…-earlier/) is yet another significant leap forward in AI's
application
in healthcare. This development, employing AI for medical diagnostics, helps…
PDF Image Table Extractor Web App with Google Gemini Pro and Streamlit
Programming
Computer Science
2 Months Ago
by usmanmalik57
…, I will build upon that script and develop a web
application
that allows users to upload images and submit text queries… to access the Google Gemini Pro model. For Streamlit data
application
, you will need to install the `streamlit` library. The following…
Re: I need help with Twitter API v1.1
Programming
Web Development
2 Months Ago
by FarrisFahad
… World'; $ch = curl_init(); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type:
application
/json' , $authorization)); curl_setopt($ch, CURLOPT_URL, $api_endpoint); curl_setopt($ch,… [detail] => Authenticating with OAuth 2.0
Application
-Only is forbidden for this endpoint. Supported authentication types…
Re: I need help with Twitter API v1.1
Programming
Web Development
2 Months Ago
by Dani
… on behalf of your user (or whomever you want your
application
to post tweets on the behalf of). How did you…
Converting PDF Image to CSV Using Multimodal Google Gemini Pro
Programming
Computer Science
2 Months Ago
by usmanmalik57
… $300. The following script imports the required libraries into our
application
. ``` import base64 import glob import csv import os import re…
Choosing the Right Framework: Comparing Pros and Cons
Programming
2 Months Ago
by riyajohnson70
… supports two-way data binding, making it easier to manage
application
states. However, Angular's steep learning curve can be overwhelming…
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