70,692 Topics

Member Avatar for
Member Avatar for darthswift00

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
Member Avatar for Dani
0
277
Member Avatar for Dani

Here's a quick bit of code to upload a file in PHP.

Web Development file-system php
Member Avatar for Dani
1
40
Member Avatar for Dani

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
Member Avatar for Dani
4
492
Member Avatar for 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 …

Web Development javascript json
Member Avatar for Biiim
0
42
Member Avatar for Dani

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 …

Web Development caching cdn
0
15
Member Avatar for Dani

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
Member Avatar for polcreation
0
94
Member Avatar for Dani

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
Member Avatar for Dani
1
64
Member Avatar for FarrisFahad

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"; …

Web Development api json php
Member Avatar for geekinformatic
2
61
Member Avatar for Montasser_1

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
Member Avatar for Montasser_1
1
56
Member Avatar for Ramesh sharama

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
Member Avatar for Reverend Jim
-2
31
Member Avatar for kearawill

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
Member Avatar for trcooke
0
35
Member Avatar for Balaji_14
Member Avatar for Mr.M

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
Member Avatar for Dani
0
98
Member Avatar for admin_12

And is it bad or what because sometimes I think I might get carried out

Web Development
Member Avatar for ashishkumar56
0
8K
Member Avatar for Marcus_8

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
Member Avatar for Dani
1
55
Member Avatar for asnashehr234

what is sharepoint policy management software, and how does it benefit organizations ?

Web Development php sharepoint
Member Avatar for Reverend Jim
0
28
Member Avatar for Chris Hüneke

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 …

Web Development apache seo wordpress
Member Avatar for Dani
2
984
Member Avatar for lennyli

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 …

Member Avatar for Dani
1
186
Member Avatar for Dani

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
0
65
Member Avatar for KamalDeepPareek

Want to build a software, but can we launch it without a website

Web Development web-design
Member Avatar for jonathannweyer
-1
24
Member Avatar for Dani

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 …

Member Avatar for Dani
1
99
Member Avatar for lojoxi

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 …

Member Avatar for JackRyan248
1
251
Member Avatar for Dani

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
Member Avatar for Dani
1
368
Member Avatar for KamalDeepPareek

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
Member Avatar for gediminas.bukauskas.7
2
566
Member Avatar for KamalDeepPareek
Member Avatar for Neil_brown001

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
0
15
Member Avatar for Krisha03

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
Member Avatar for Pelorus_1
1
250
Member Avatar for SanjayJoshi

If I want to use Bootstrap 5 for my admin dashboard and avoid Tailwind, which templates should I consider?

Web Development css-bootstrap
Member Avatar for Dani
0
39
Member Avatar for Ecommercewebdes

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?

Member Avatar for Dani
0
41
Member Avatar for jamesalery

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>* …

Member Avatar for gediminas.bukauskas.7
0
64
Member Avatar for brother_1

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
Member Avatar for maplestar
0
39
Member Avatar for ianhaneybs

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
Member Avatar for gottaloveit
0
86
Member Avatar for juan_35

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 = …

Web Development email php
Member Avatar for Biiim
0
434
Member Avatar for KamalDeepPareek
Member Avatar for riahc3

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
Member Avatar for blud
2
48
Member Avatar for Dani

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
1
87
Member Avatar for alexxx1

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
Member Avatar for rproffitt
0
65
Member Avatar for darren2005

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?

Web Development ecommerce wordpress
Member Avatar for simplixi
0
82
Member Avatar for Eng._2

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
Member Avatar for simplixi
3
230
Member Avatar for gamestoenjoy

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
Member Avatar for jasper-king
1
361
Member Avatar for daniel75

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
Member Avatar for Zinavo_1
0
172
Member Avatar for ianhaneybs

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> ' . …

Web Development email php
Member Avatar for Dani
1
55
Member Avatar for Mr.M

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
Member Avatar for Dani
0
116
Member Avatar for Sidaani123

I really need to know how to implement a scroll through function on click for my website.

Web Development html-css javascript web-design
Member Avatar for PsychicTide
0
23
Member Avatar for Mr.M

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: …

Member Avatar for Biiim
0
146
Member Avatar for rasputin009

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. ` …

Web Development email mysql php
Member Avatar for Biiim
0
72
Member Avatar for Sandeep_69

Looking for Web development company or want to hire developer for my project.

Web Development web-design
Member Avatar for rproffitt
-1
39
Member Avatar for PsychicTide

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
Member Avatar for PsychicTide
3
75
Member Avatar for VSURE

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
Member Avatar for JuanB
-1
47
Member Avatar for PsychicTide

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 …

Member Avatar for Dani
0
103

The End.