70,692 Topics
![]() | |
Id like to know as to how to go about creating a web service that validates a registerd user to my site. Also how to register a new user to the site. What steps shall i take in order to do this? Im using Visual Studio 2008 (.NET Framework 3.5) … Web Development asp asp.net visual-studio | |
Here's a quick bit of code to upload a file in PHP. Web Development file-system php | |
Here is the function that I use here at DaniWeb to manage flood control. It keeps track of how often a specific user or IP address is making a request, and increments a counter. If there have been no requests after 5 minutes, the counter resets to 0. It returns … Web Development php-codeigniter redis | |
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 … Web Development javascript json | |
I happily just discovered the Cache-Control rules *stale-if-error* and *stale-while-revalidate*. I came across [an article](https://developers.cloudflare.com/cache/concepts/cache-control/) on Cloudflare's site that says that those two directives are ignored if CF's Always Online feature is enabled, so I've gone ahead and disabled that. However, I'm confused by the following quote: > The stale-if-error … | |
I know that this is probably a hopeless question, but are there any automated scripts that would *reliably* and *automagically* convert my thousands upon thousands of lines of jQuery code into native Javascript? Web Development javascript javascript-jquery | |
In my increasingly futile attempt to remain using the now-defunct CodeIgniter 3 framework, I came across something that I figure might be worth sharing in case anyone else is maintaining older PHP codebases and suddenly things start breaking after a PHP upgrade. With PHP 8.2, there’s a new warning that’s … Web Development php | |
I want to post Pins using Pinterest API. I have tried to generate code using ChatGPT but it returns an error. Here is my code so far ... <?php $clientId = "xxx"; // Replace with your App ID $clientSecret = "xxx"; // Replace with your App Secret $redirectUri = "xxx"; … | |
I try to remove the last character from a string with Japanese text and emojis using this code: <?php $text = "私の名前はダバーです👩🚀"; $new_text = substr($text, 0, strlen($text) - 1); echo $new_text; The output breaks the characters and shows garbage. How do I fix this? Web Development php | |
In 2025, a successful website goes beyond just good looks. It needs to be fast-loading, mobile-friendly, and accessible to all users. Strong user experience (UX), clean navigation, and clear calls to action are essential. Integrating SEO best practices, secure protocols (HTTPS), and scalable backend systems is also vital. Websites should … Web Development seo web-design | |
Hey developers 👋 I’m working on a new project for a client — a estate agency Ilford, and I’m wondering how much of this could be streamlined or even built with AI tools? The site needs standard features like: Property listings Service request forms (for tenants) Payment gateway Backend for … Web Development html-css javascript php | |
what are the challenges?? Web Development business-entrepreneurship finance | |
Hi DW, I'm trying to mark attendance register which has the date for which that register is being marked for as well as the date which the register is actually marked on. For Date as well as Marked Date. I also have two time picker textboxs which one is for … Web Development php | |
And is it bad or what because sometimes I think I might get carried out Web Development | |
Hi everyone, I'm getting a 401 Unauthorized error when trying to call the Management API from my web app. I've already checked my token, headers, and API endpoint, but nothing seems to work. However, I’m still confused and can’t figure out where exactly I’m going wrong. I feel like the … Web Development api | |
what is sharepoint policy management software, and how does it benefit organizations ? Web Development php sharepoint | |
Never published this before, so this is a DaniWeb.com Exclusive :) If your WP-Site has a lot of K-Links, you should consider using this script. It definetly works. For now... ## **Negative SEO** through spamming Backlinks can be a huge problem for the visibility of a webpage. ## You can … | |
I have tried to read https://www.daniweb.com/programming/web-development/threads/386380/cannot-run-exe-files-in-asp-net-application but still lost in trying to achieve something. I installed the latest .net framework, and IIS on the latest updated windows 11. I wish to achieve the following: Have a webpage with a button, when pressed, it will launch a webpage that runs a … Web Development asp asp.net session visual-studio windows-11 | |
Probably a silly question, but is Argo Smart Routing (the usage-based product) only applicable to content served at the origin? Otherwise, does it makes sense to be spending money to find a more efficient path between the end-user and the edge? Isn't the edge already pretty darn close? Web Development cdn | |
Want to build a software, but can we launch it without a website Web Development web-design | |
As you may know, yuo can customize the error pages in Cloudflare, such as for a WAF block, etc. For some reason, since the switchover to the new error pages dashboard, the custom font I always use isn't working. I can see that it converted https://cdn.daniweb.com/font.woff into inline base64 for … Web Development cdn cybersecurity router-proxy-firewall | |
Hi Everyone, Web development can be both exciting and challenging, but having the right tools makes all the difference. If you're starting out or looking to improve your workflow, consider using popular frameworks like React or Vue for streamlined front-end development. On the back end, Node.js and Django are solid … Web Development developer-tools github node.js php web-browser web-design | |
Just as the topic title suggests, any jQuery 4 beta users out there who could let me know what it's like? The wait for v4 gold release is killing me. Also, please don't make fun of me for being a jQuery user. DaniWeb has been built on jQuery for decades. … Web Development javascript-jquery | |
How can lazy loading improve web portal performance by reducing initial load times and optimizing resource usage? What are the best techniques to implement lazy loading in images, components, and data fetching using JavaScript frameworks like React, Vue, and Angular? How does lazy loading impact SEO and user experience? Web Development javascript seo web-browser | |
I'm building an SSR React app (Next.js) with dynamic nested routes where components at multiple levels depend on both initial server-side data and real-time client-side updates via WebSockets. The challenge arises when synchronizing DOM state post-hydration—especially when the component tree changes due to route-based code-splitting, and some child components rely … Web Development seo web-design websocket | |
Hello There, I am looking for MUI React-based admin template in the TypeScript version for my project. Can you guys suggest some React Admin templates that are comprehensive and easy to use? I really appreciate any help you can provide.! Web Development javascript typescript | |
If I want to use Bootstrap 5 for my admin dashboard and avoid Tailwind, which templates should I consider? Web Development css-bootstrap | |
Let’s learn from each other’s fails! What’s a mistake you made in your early days of web design—and what did it teach you? Web Development javascript web-browser web-design | |
Hi everyone, I’m just starting out with testing and I need to generate some test data for things like names, birthdays, emails, and other basic information. I’m looking for web-based resources or tools that provide random test data for use in my testing. like i used this *<Promotional link snipped>* … Web Development data-protection html-css javascript | |
I have 3 okta apps setup. Okta app for backend Okta spa app Okta web app The Okta spa app is able to use the access token it got and pass to Okta app for backend and the token is validated. However, the Okta web app access token when passed … Web Development api client-server | |
I need to display a pound currency symbol before the amount that is calculated Below is the code I currently have <th class="text-right py-1 px-2 grand-total">0</th> function calc(){ var grand_total = 0; $('table#list tbody input[name="total[]"]').each(function(){ grand_total += parseFloat($(this).val()) }) $('table#list tfoot .grand-total').text(parseFloat(grand_total).toLocaleString('en-gb', {style:'decimal',maximumFractionDigit:2})) $('[name="amount"]').val(parseFloat(grand_total)) } I'm not sure where to … Web Development javascript | |
Can someone help me, my contact form does not working. It will send successfully, but the email recipient can't receive the message. Here is my code: <?php $email_to = 'name@example.com'; //the address to which the email will be sent $name = $_POST['name']; $email = $_POST['email']; $subject = $_POST['subject']; $message = … | |
can anyone explain Web Development image | |
Hello Havent been here in a while but might as well give it a shot. I have several Apache Tomcat instances running on a Windows Server on different ports. They are all HTTP. The idea would be to (on the same server) install a IIS and use it a content … Web Development apache windows-server | |
The Markdown editor that we use here at DaniWeb is called [CodeMirror](https://codemirror.net/) and we've been using it for forever. The other day, I noticed some bugs in the editor toolbar that we use, which is based on the [CodeMirror API](https://codemirror.net/docs/ref/). (The one that allows the buttons for bold, italic, etc.) … Web Development api daniweb-api typescript | |
Hello everyone. I have built a website which I've attached to my bio on Instagram. What I'd like to achieve is to make it open on my phone's (default) browser, safari or whatever that may be. By default, all bio links open in the app's browser. But I saw it … Web Development ios social-media | |
Hi, does anyone know why I would have duplicate categories in WooCommerce? I've imported demo content into a new website template and it seems to have duplicated the categories. Products are not duplicated. Is there anywhere in the database, etc that I could edit to stop this? | |
I have been developing this technical E-commerce store for a roofing sheets factory in Africa. The company has been quite helpful with most of the information that I asked for, ranging from the provision of products, to the introductory content. I am working on making the shop standout and be … Web Development ecommerce | |
Hi, I created website that teaches users anything they need to know about Kodi, The site is still new but I add new content regularly, The site is based on WordPress but I changed the theme and the code of the site. I will be happy to hear what do … Web Development wordpress | |
I have a DataGrid with a picture as link button in one of the columns. The linkbutton automatically gives me a blue linkframe around the picture. How do I get rid of that? Thanks! /Daniel Web Development asp.net | |
I need some help with getting checkbox values sent to email using phpmailer I have not done it before so unsure how to do it, the current code I have is below $postData = $_POST; $oneway = $_POST['oneway']; $return = $_POST['return']; $htmlContent = '<h2>Contact Form Details</h2> <p><b>One Way:</b> ' . … | |
Hi Dw, I want to get the keys and data of the php json response, heres the response I get {"content":{"1":{"title":"Present","start":"2025,01,29","end":"2025,01,29","backgroundColor":"#f39c12","borderColor":"#f39c12"}}} all I'm interested in starts from title. Web Development javascript-jquery json php | |
I really need to know how to implement a scroll through function on click for my website. Web Development html-css javascript web-design | |
Hi DW, I'm trying to get selected option id, the problem with my code is that it is only showing or returning the id of the first select only even if I click other options it doesn't return them. Heres my code var xid = $('#managsel option:selected').attr('id'); alert("The id is: … Web Development html-css javascript javascript-jquery | |
After the customer fills the form, the form data is sent to mysql and an email gets sent to me with the last form data that the customer submitted. But, the email "last mysql data" is not going as inline text. Please help me. Sample code is given below. ` … | |
Looking for Web development company or want to hire developer for my project. Web Development web-design | |
Hello all! I have been away from this forum for far too long and would like to help with my experience/knowledge. This place helped me get through college and early professional work as a web developer. Is there a section to post random code snippets for tasks that may help … Web Development html-css javascript mysql | |
var is function-scoped and allows redeclaration, which can cause bugs. let is block-scoped and doesn't allow redeclaration, making it safer. const is also block-scoped but used for values that shouldn't change. Use let for variables that may change and const for constants. Avoid var in modern JavaScript for cleaner, predictable … Web Development javascript | |
Hello friends, it's been some times since I've posted here, but this community has always been my "I really need help" place to go. Lets get to the idea... I have a WordPress (dislike WP very much) site I'm customizing. Have a popup iFrame on click that is built into … Web Development javascript javascript-jquery wordpress |
The End.