Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
application
- Page 1
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
6 Days 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
6 Days 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
6 Days 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
1 Day 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…
Re: Installing programs from Github
Programming
Software Development
6 Days 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: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Day 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?
How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
3 Weeks 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…
7 NLP Tasks to Perform for Free in Python with Mistral 7b LLM
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
… free in a browser, utilizing its functions in a Python
application
via OpenAI API incurs charges. This is where open-source…
Devin Might Be Fake, Yet AI's Threat to Jobs Is Real.
Community Center
1 Week Ago
by Johannes C.
… to be real, I shall remain skeptical of this particular
application
. ## Why Freelancing Isn’t Dead (Yet) ## The rise of AI…
Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
by david.tigner
… ); $recaptcha_options = array( 'http' => array( 'header' => "Content-type:
application
/x-www-form-urlencoded\r\n", 'method' => 'POST…
Re: Postfix authentication problem
Hardware and Software
Linux and Unix
2 Weeks Ago
by chickenbirds
… for exactly the purpose of relaying emails from a web
application
to large mail providers like gmail, which then deliver the…
Re: How to Code a Load More Button?
Digital Media
Digital Marketing
Search Engine Strategies
2 Weeks Ago
by MarkMarketer
… is available on the client-side. In a real-world
application
, you would likely be fetching the additional data from a…
Re: How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
3 Weeks Ago
by rproffitt
Python shouldn't create such an error. Reference https://www.reddit.com/r/learnpython/comments/kv83hc/error_code_exception_access_violation_writing_0x0/ I can't duplicate your issue but if this was mine I'd place a logging command in my python script at each step so I could nail down which line of code threw the error. Tutorial on that at …
Re: How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
2 Weeks Ago
by Dani
I don't have any python experience, sadly, but I am super awesome at jQuery. Once you solve this server-side problem at hand, if you find yourself with the jQ side of things not working, please don't hesitate to post.
Re: Applying PySide's QAbstractTableModel
Programming
Software Development
3 Weeks Ago
by Mark_94
Even although this topic is 11 years old (in 2024), it's still very helpfulby showing how to properly program in Python3. I've readily translated it to PySide6 and it works fine except for one tiny prob: sorting the MP column with "TypeError: '<' not supported between instances of 'str' and 'float'". I'm not sure how to fix it.
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week 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
1 Week 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
1 Week 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
1 Week 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
1 Week 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: The Roles and Responsibilities of a Full-Stack Developer
Programming
Web Development
2 Months Ago
by Deftsoft
… Control **5. API Development:** * RESTful API Design * Integration **6. Security:** *
Application
Security * Data Encryption **7. Testing:** * Unit Testing * Integration Testing In…
AI Frontier 2024: A Rapid Start to a Transformative Year
Community Center
1 Month 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
1 Month 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…
Multivariate Stock Price Prediction with Transformer Encoder in TensorFlow
Programming
Computer Science
2 Months Ago
by usmanmalik57
… library. The following script imports the required libraries into our
application
. ``` import yfinance as yf import datetime import seaborn as sns…
Problem Returning MySQL Stored Procedure results using Python
Programming
Databases
2 Months Ago
by cored0mp
…! OK today I am having trouble with my transaction processing
application
implemented in python/MySQL. Here is some "working"…
I need help with Twitter API v1.1
Programming
Web Development
2 Months Ago
by FarrisFahad
… = 'Hello 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, CURLOPT_POST, 1…
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
1 Month 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