Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
image_file
- Page 1
Re: Android Native - How To Request Notification Permissions
Programming
Mobile Development
6 Hours Ago
by Inamullah_1
Great tutorial—thanks for sharing! Just a few quick additions: Starting with Android 13 (API 33), apps must request permission for POST_NOTIFICATIONS at runtime, while older versions allow notifications by default. It’s best to check the Android version before requesting this permission to avoid unnecessary prompts. Also, remember to handle the …
Re: Error LNK1104 when debugging
Programming
Software Development
2 Days Ago
by rproffitt
Remember I can't check that your declarations are correct for the variables you are passing. -> File a ticket to their support.
Re: Safely upload a file
Programming
Web Development
2 Weeks Ago
by Dani
I realize I could have done better when coming up with a safe name. As it stands, a file uploaded that has a file name in non-Latin characters will just end up with a bunch of underscores. I’m not even sure if that suffices as a file name, but for sure there will be collisions as multiple files are attempting to be saved with the same _ name.
Safely upload a file
Programming
Web Development
2 Weeks Ago
by Dani
Here's a quick bit of code to upload a file in PHP.
Re: Safely upload a file
Programming
Web Development
1 Week Ago
by john_111
You should display a message acknowledging the upload was successful or that it failed (and why it failed), and perhaps it's new name.
Re: Safely upload a file
Programming
Web Development
1 Week Ago
by Dani
I feel like that's part of the UI that would be very different depending upon the context. For example, what would the message look like? This is meant to just be a backend utility function.
Re: How to show visa info based on country selection in a travel form?
Programming
Web Development
3 Weeks Ago
by groverharleen
Hello, please use developer tool while working on HTML/PHP with AJAX. in the console you can easily track what was the POST/GET request made to PHP file and what is the responses shared by PHP file. try debugging response accordingly or if still you face any trouble, please do share screen shot of Header / Request / Response Tabs. i'll …
How to show visa info based on country selection in a travel form?
Programming
Web Development
3 Weeks Ago
by eservices
I’m working on a travel planning form that adjusts based on the selected nationality. For example, if someone picks a country like India, the form should display whether they need an electronic visa for places like Sri Lanka, and maybe show a short message or guide link. I’m using JavaScript to detect changes in a <select> dropdown and …
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by Dani
Can you please save the log as a text file and attach it as an attached file here? Much thanks! :)
Re: Error LNK1104 when debugging
Programming
Software Development
2 Weeks Ago
by toneewa
I like the challenge, but hate when errors like these occur. Check for a syntax error on line 2 in starter.h starter.h(2): warning C4067: unexpected tokens following preprocessor directive - expected a newline Hard to say without seeing code. Some cases m_hservice may require you to use the .lib file Advapi32.lib it if it isn't automatically…
Re: Web Services using ASP.NET
Programming
Web Development
2 Weeks Ago
by rajshah85412
Here is the detailed answer : You want to: Register new users to your website. Validate (log in) existing users using a web service. You will achieve this by: Creating a SQL database to store user information. Developing a web service in ASP.NET to handle registration and login. Connecting the web service to your database. …
Re: What are "Other agent type" Googlebot types in GSC crawl stats?
Digital Media
Digital Marketing
Search Engine Strategies
3 Weeks Ago
by bijutoha
> No manual actions or security issues. Okay, Dani, that's genuinely good news about no manual actions or security issues, at least that rules out the scariest stuff! But it makes the 80% deindexing even more puzzling. Since it's not a penalty, my mind immediately jumps to some kind of technical configuration problem that might have …
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by toneewa
I've seen this happen from Windows Defender nuking Visual Studio's compile process. Make sure the PC is set to Developer Mode. Whitelist the directories involved in Windows Defender. This could happen after a Windows Update. Check the "defender" log and see if there is any file(s) to restore. Restarting the PC will resolve any hung…
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by Salem
> 1>C:\Users\mypcname\Documents\Visual Studio 2010\Projects\myprojectname\Debug\myprojectname.exe : fatal error LNK1120: 16 unresolved externals This is why you don't have an executable file. Example: 1>myprojectname.obj : error LNK2020: unresolved token (0A0000DF) "unsigned short MyProjectName::m_hservice" (?…
Re: Error LNK1104 when debugging
Programming
Software Development
2 Weeks Ago
by wwwalker
When compiling no relevant libraries have been included for linker to link so the executable won't run as it can't be compiled with missing libraries. In C and C++ code, the library header includes are at the top of the page. E.g.: #include <iostream> Go through each error where code requires a library to be linked and add those …
Re: Error LNK1104 when debugging
Programming
Software Development
2 Weeks Ago
by Mr.M
Thanks, I've never used Git before. I've commented out all the code but still. What I think might be producing this problem is the resources. I added a new item then changed the default to a new icon. But I did run the project successfully that time. This is the only thing I suspect might be a result of this problem. How can I clean the …
Re: Error LNK1104 when debugging
Programming
Software Development
2 Weeks Ago
by toneewa
I've seen this problem before with the .rc and resource.h files, when changing icons. Backup what you have. I remember I had to remove the resource files from the project, and the additional resource (e.g., resource1.h, resource2.h) generated headers from the project folder, when adding a new icon to replace the default. It's probably easier…
Re: How to show visa info based on country selection in a travel form?
Programming
Web Development
3 Weeks Ago
by Dani
I have moved your post into the web development forum instead of the advertising/marketing forum where it was and tagged it appropriately. Can you please provide the Javascript code as well as PHP code that is buggy so that we can help diagnose this for you. For example, if the JSON response is empty, it is most likely because of a bug in the …
Re: How to show visa info based on country selection in a travel form?
Programming
Web Development
2 Weeks Ago
by Biiim
I felt like some fun, so I just put together an example for you using CDN's and bootstrap 5. From what you are talking about you probably want to put some of that logic into the Javascript and not need to send a server request for each one, I usually do this kind of thing with javascript objects/arrays (eg `settings['GB']['visa_req'] = false;…
Integrating OpenAI Web Search API in LangGraph
Programming
Computer Science
1 Month Ago
by usmanmalik57
Large language models are trained on a fixed corpus, and their knowledge is often limited by the documents they are trained on. Techniques like retrieval augmented generation, continuous pre-training, and fine-tuning enhance an LLM's default knowledge. However, these techniques can still not enable an LLM to answer queries that require web …
Re: Anti-Hotlinking Script for WP on Apache (.htaccess) - Linkspam Prevention
Programming
Web Development
1 Month Ago
by Dani
CDNs such as Cloudflare offer hotlink protection via a toggle switch you could enable. But, yeah, the primary benefit of hotlink protection is that a website doesn't upload images to *your* site, and then include them in their own site without having to pay for the bandwidth of hosting the images. Just make sure that if you turn on hotlink …
Re: Need Coding Help With A Project
Programming
Software Development
1 Month Ago
by Enzo_3
I was working on a similar assignment where I had to compute the average of numbers from a text file using higher-order functions like map() and reduce(). I was really stuck on how to incorporate them meaningfully, but I finally figured it out. Here's how I approached it using Python: from functools import reduce with open('…
Re: How to open an Excel Document in VB.NET
Programming
Software Development
2 Months Ago
by PitSterw
I've worked on something similar and found that using Microsoft.Office.Interop.Excel lets you open the file and loop through cells easily.
Re: Google Search Console -> Page indexing
Digital Media
Digital Marketing
Search Engine Strategies
2 Months Ago
by ashleydent4u
It sounds like you're on the right track already, and your robots.txt file actually looks okay at first glance. However, if 1.13K pages aren’t being indexed, it could be due to a combination of issues like low-quality content, duplicate pages, or crawl budget limits (especially with Blogger sites). In Search Console, head to the “Pages” section …
JForum release for JakartaEE 10
Hardware and Software
Cloud-based Apps
1 Month Ago
by Ulfson
Since this is a discussion forum, I dare use it to announce a new release of the best (IMO) Java open source discussion software, JForum. There isn't much new in terms of functionality or bug fixes, but it now runs natively on JakartaEE 10 - meaning you need Tomcat 10.1 or comparable to run it. Previous versions ran fine using the *webapps-javaee* …
Re: Question/Answering over SQL Data Using LangGraph Framework
Programming
Computer Science
2 Months Ago
by Pelorus_1
Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever.
Re: Designers, Where Do You Get Your Visuals?
Digital Media
UI / UX Design
1 Month Ago
by jkon
We make a vertical distinction between visuals for UI (which are under the R&D department) and visuals for content management / site promotion (which are under the S&D department). In the first case, which covers every visual within the scaffolding of an app / site, we normally create them ourselves. These are typically SVG files, and …
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
2 Months Ago
by Reverend Jim
First app is Macrium Reflect so I can take an image of the fresh install. Then I repartition to C/D, move my user folders (documents, pictures, etc.) to D. Then I take another image. After that I begin installing my base apps before imaging one more time.
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
1 Month Ago
by Reverend Jim
Further note: Because Microsoft insists on crammine OneDrive down our throats, moving the My Documents is damn near impossible. I've found the easiuest way is to initially set up my computer using a Microsoft Account (something they have also made it almost impossibole to avoid), then create a local admin account and always log on with that. That …
Re: Remove Qemu/kvm snashots
Hardware and Software
Linux and Unix
1 Month Ago
by Dani
Salem linked to it (thank you!), but it seems succinct enough that I'm going to include it here in case the link were to disappear in the future. # qemu-img snapshot [ -l | -a snapshot | -c snapshot | -d snapshot ] filename -l: lists all snapshots -a: reverts the image to the snapshot -c: creates a snapshot -d: deletes the snapshot
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC