1,169 Recommended Topics
Remove FilterBack in the day, I was a high schooler and daniweb.com was a website about my Yorkie and Maltese!! However, I couldn't help my nerdiness and interest in web development, and there was an "HTML Tutor" section as well. (Also, please just tell us about it without this turning into …
Hi , I'm Kamal Hinduja based in Geneva, Switzerland. Can anyone explain How to set up file uploads in PHP securely? Thanks, Regards Kamal Hinduja Geneva, Switzerland
What are cool stuff that you can create with NodeJs? And is there tutorial for that? I heard that NodeJs can create something like JivoChat , is that true?
Looking for a little guidance, for a seemingly not such a complicated project for a website. Maybe y'all could assist me with the optics of this? I want a page on my site to have some input bottons, that will access an astrological database, for some end-user basic information, which …
I've been racking my brain on this one for a good 30 minutes already, and I don't know why I'm just not seeing it. Instead of posting a bunch of code here, I'm going to walk you through how to reproduce it on Daniweb. Please go to the [Contribute](https://www.daniweb.com/community/contribute) page …
I'm facing a confusing issue with one of my websites. When I test in Google Pagespeed Insights, the performance score is 99/100 and there are no visible LCP (Largest Contentful Paint) issues reported. However, in Google Search Console, I keep getting warnings about LCP problems on some URLs. I’ve double-checked …
It seems as if full stack web development is more popular these days than someone who just focuses on backend, just on frontend, etc. Perhaps it's just the people that I'm exposed to? I would assume that in larger corporations, people would be more pigeonholed. I was just curious how …
Do either Safari or Firefox have near-term plans to implement container scroll-state queries? Google AI says that Safari supports it, but caniuse.com clearly says it does not. I'm waiting on this one with bated breath. For those of you who are not sure what I'm referring to, [it's this](https://caniuse.com/wf-container-scroll-state-queries).
Hi all, For the past few years I've been working on this visual web dev tool called Webfoundry: https://webfoundry.app/ It allows you to visually manipulate the DOM to create components and page templates, add JavaScript bindings, and build anything the browser can accomodate. It's different from existing competitor products in …
I have a webpage for showing placemarkers on a map. I have used chatGPT to get lots of bits of code that I have copied into my project including parts that I do not use. The code has most of the features I want so far. I would like to …
Hi, I have a question about web hosting. I want to purchase a hosting package from web.com, and they have mysql database. But the web hosting package says i can only have 300mb, but the issue is theres a 25 in front of the 300mb, it looks like this 25 …
Any predictions for the next Macromedia/Adobe Flash?
Hi DW, I have a back-end php file which is an engine for my site and a HTML file which is where the input is shown. the actual html code for the inputs is returned from the backend php file because it get customized there and returned with it data. …
When the page loads, the div design makes the animation starts below. If I page down, the div animation already starts. I would like an code that the animation just appear when shows by the page. <html> <head> <meta name="viewport" content="width=device-width, inicial-scale=1"> <meta name="keywords" content="carlos web,soluções web,soluções,serviços,web design,hospedagem grátis,hospedagem,panfletos,placas,banner,banners,fachada,fachadas,papéis de …
The company I work for uses SVN, with full control over backups on other servers and strict access restrictions. Consequently, my interaction with Git, and GitHub specifically, has been primarily as a user or consumer. Over the years, I have created many things that could be packaged as plugins in …
Hello All! I want to create my own proxy site. I googled alot and I find not a single solution in .net to do this. Everyone is using php for it. I am very new to php so i dont know how to use it. here is the code i …
Is it possible to use the Vary header with an HTTP 301 redirect? I understand that 301 redirects are meant to imply the resource has permanently moved, and to forget about the old location, pretty much. My use case is to use `Vary: Cookie` and have different behavior based on …
Does anyone have any experience with Google Analytics consent mode? In the HTML head, I have: gtag('consent', 'default', { 'ad_storage': 'denied', 'ad_user_data': 'denied', 'ad_personalization': 'denied', 'analytics_storage': 'denied', 'wait_for_update': 500 }); Then, a javascript function is called from within the bottom of the HTML page that, based on the flow of …
How i can i buy web hosting on my blogsite? My site: [Food Recipes](http://www.foodrecipesall.blogspot.com/)
One of the biggest advantages of web development is how quickly we can get things into production. We all remember Mark Zuckerberg's motto in the early days of Facebook to move fast and break things. It wasn't my motto, as well, per se, but I certainly had (and still have!) …
I'm not quite sure what happened except Charlie Foxtrot Tango, what a mess. I zoomed out to avoid fowl language and the tangerine sky but some sort of revolt is going down. Example:  Either it's the new ownership, which the new owner has some prior black hole you just …
At long last!! Rejoice! [Now only if most browsers supported the darn thing.](https://caniuse.com/css-if)
For me, it's jQuery, of course. It just works and I don't think it's as much of a performance hit as everyone seems to think. Google Analytics 4 comes in a close second, because, well, it's GA4. Need I say more?
I'm someone who always relies on `console.log` for development. I was just wondering if anyone out there in Internet land ever uses `console.log` in production? Say, for status messages or notifications, perhaps? What about the less known about `console.info`?
Mine is [infinite scrolling](https://infinite-scroll.com/). Runner up, by the same folks, is the [masonry tiles](https://masonry.desandro.com/) featured on our homepage.
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 …
I know Cloudflare has functionality to block AI bots. However, I heard something about them charging AI bots for access and then passing that money off to the website. Has anyone else heard of this before?
How do you keep up with the latest trends in web design?
This question is probably more suited for Cloudflare's community forums, but I figured I might as well ask it here (and there), and worst case, I get an answer there and then I can update this thread with the answer. So, from the Cloudflare domain overview, I click on Error …
For those of you with blogs, forums, etc: What do you use to manage spam and are you happy with your existing solution? I know Akismet is really popular among Wordpress users. We have our own custom anti-spam bot that we use here and I'm trying to gauge whether it …
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 …
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 …
Hi All, Been messing about as usual and managed to trash my long suffering laptop. Luckily all my data is backed up and it was a simple matter of SugarSyncing everything to the new one - a monster HP Envy - which I love, but it came with Windows 8 …
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?
Hi everyone, I recently switched my app from a paid-only model to a free trial in order to encourage more installs. The app provides features like AI lead quality scoring, quote-to-order conversion, BI dashboard, and customer chat – mainly focused on helping merchants better manage quote requests. However, even after …
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. …
I was thinking of building a little tool that compares a webpage's DOM structure before and after javascript execution and performs a diff. I know that the functionality is already built into some paid SEO tools, but was just curious if you thought that having a standalone feature would be …
I use PhpStorm and was wondering if there was a way/plug-in where, for each php file, to reorder the functions in alphabetical order? I'm not even sure if this is something that's commonly, or ever, done, but it would help me out quite a bit.
I've been working on DaniWeb's code base in PHP for over 20 years, and so, as you could imagine, a lot of it existed before PHP started specifying function return types. (I think that started in PHP 8, right?) Is there any performance benefit to going back through all of …
Do you use Cloudflare, Fastly, or something else? Do you cache HTML content at the edge or just static files? Just curious what DaniWeb members do and their reasons. I was really late to the Cloudflare game, but I've been here for a few years now. I was hesitant for …
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 …
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) …
Here's a quick bit of code to upload a file in PHP.
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?
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 …
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 …
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"; …
And is it bad or what because sometimes I think I might get carried out
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 …
what are the challenges??
The End.