41,396 Topics
![]() | |
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 have been getting tons of email spam from my own domain name. It is coming from a contact form that uses sendmail.php. My guess is someone is trying to use it to spam other people, but it keeps going directly into my inbox. I can't block sender. I can't … | |
What’s the most underrated programming language, and why do you think it deserves more love? Of course, my first instinct is to say PHP because it gets such a bad rap. However, I wouldn't exactly call it *underrated* because it powers well over half of the web today! It only … | |
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 … | |
Here at DaniWeb, we use a combination of a forum structure for top-level categories (web development, digital marketing, etc.), as well as a tags to denote specific technologies (php, etc.). For many years, the moderation team wasn't actively doing a decent job moderating tags, and we now have a lot … | |
Hi all, I was wondering, can you still get a screenshot from a url using PHP and Google Pagespeed Insights, I've tried a few codes but I just get an empty file. Any help would be cool, thanks. | |
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 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? | |
What programming language or tech stack did you enjoy working with the most in your career, and why? For me, [once I discovered PHP](https://www.daniweb.com/programming/threads/543636/when-did-you-start-programming-what-languages), I never looked back. I initially gravitated to it because I was first getting my toes wet with web development, and I was attracted to a … | |
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 … | |
Here's a quick bit of code to upload a file in 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 … | |
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 … | |
**Is it true that a java website faces much more page speed and core web vitals issues as compared to a wordpress website? ** I have seen many wordpress websites doing nothing on technical seo issues but having very good page speed whereas my website is a java website and … | |
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"; … | |
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 … | |
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 … | |
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 … | |
Hey guys, I'm struggling to make my **website faster**, and it's driving me cra*y. 🤯 **What are your best tips to improve speed without breaking everything? Any must-have tools or tweaks? ** *I understand French! 😊* | |
So I've had a media server for a while using Plex as the software with a Terra Master as the hardware. I've become dissatisfied with both for various reasons and I'd like to make my own, but I'm also open to Plex alternatives recommendations. What I want to do is … | |
I ran into a bit of a snag in my code, and I'm trying to make heads or tails as to whether this will work. From within my PHP script, can I write to a database using a MySQL connection in the middle of a transaction with a different connection? … | |
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 = '[email protected]'; //the address to which the email will be sent $name = $_POST['name']; $email = $_POST['email']; $subject = $_POST['subject']; $message = … | |
Hello DaniWeb Community! I’m excited to join this vibrant space and connect with like-minded professionals. At Shine Dezign Infonet, we specialize in web development, mobile app development, and eCommerce solutions, with a focus on platforms like Shopify, WordPress, and more. Our goal is to create innovative, user-friendly, and scalable solutions … | |
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? | |
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 … | |
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> ' . … | |
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. ` … | |
Hi I'd like to run a flashMovie in a .php page to the norm html. Fla's run ok, except they don't handle 3D object key command .swfs. [url]http://www.flashsandy.org/demos[/url] Click on 2nd image of a type of jet_copter Gavia AT-1008 as the best example of what is possible. Use keyboard arrows … | |
Hi guys/gals! I've read through a lot, great site but I'm stuck and have started pulling out teeth:( I would like to selectively display markers (that change everyday) on a Google map, using a a couple of checkboxes (areacode)and a selection list (prices). [CODE] <!--Based off of code from: http://tips4php.net/2010/10/use-php-mysql-and-google-map-api-v3-for-displaying-data-on-map/--> … | |
Hi everyone, I recently designed a WordPress website, and my main focus is on improving its SEO and user experience. My ultimate goal is to drive organic traffic and provide an appealing design for users. I have a few questions, and I’d appreciate it if you could help me out: … | |
Hi there, I manage over 30 Facebook pages along with Instagram, Twitter, and TikTok accounts, and I’m in search of a cost-effective social media management tool or platform that allows me to streamline and manage all these accounts in one place. Here are the key features I’m looking for: • … | |
Hey, I am trying to connect to Twitter API version 1.0. I want to post a tweet on Twitter using API. I don't want to use any libraries because i am trying to learn. I have written some code with the help of ChatGPT. I am having issues with the … | |
I have some php code that says if index.php or main root then display some code and if not then show other code and it works on index.php but if it's just the domain name without index.php at the end, it don't work. I have the following code at the … | |
How to figure out the paths, why the styles are not applied, the file is not found, I tried many methods, but as a rule nothing works, it happens that the main page applies styles, in other files there is none or there is no file at all, it is … | |
I have a opencart 2.3 store and I have downloaded a extension that shows all products on one page, it creates a category called All and displays all products in that category. It's working all ok but I would like to have the product filter displayed in the left column … | |
Hi I'm trying to make a system for someone I know and I have a customers page with a link to view orders and created another page to display the orders made for that specific customer name, I have got some php code on the page but it looks like … | |
Need webmaster fluent in php/mysql to make ongoing updates to my fairly simple e-commerce website. Please advise hourly rate and availability. | |
I am trying to make a system for office staff and delivery drivers so the office staff book the orders in and the delivery drivers are able to see what can see what orders there are for that day and for their lorry as will be multiple lorries/drivers. I am … | |
**Large Language Models (LLMs) can significantly improve your SEO success and at the same time lower your workload. Here are the Dos and Don'ts of using ChatGPT for SEO.**  What's the best way to integrate AI into keyword research? How to create engaging content with ChatGPT? And what other … | |
Dear All, (first of all I am a beginner!!!) I have a project single-page web application (php, mysql, jquery, angularjs). I have questiong regarding angularjs and php how to pass url parameter to php variable? public_profile.php?user_id=7 I know basics of angularjs routing, and it works fine. The problem is when … | |
Please can someone advice | |
i need code | |
If you have a Form that gets user input, submits and adds to a MySQL db. You want to be alerted via email, and also send an email to the user thanking them. You decide PHPMailer is the safest way, but want to use PDO to avoid Injection hacks. What … | |
Hello, I am working with my Client on UI/UX design project. Since last three month. But A few day ago they ask me to design a site on wordpress I am facing some issue regarding Featrues Image. my boss is say 1200 628px size in not a features image? They … | |
**Dear members of Daniweb.com,** Allow me to introduce myself: I'm **Somsak Döppers**. With extensive expertise in WordPress, PHP, web design, Python, MySQL, and SEO since 2007, I serve as a **Senior SEO Specialist**. I've had the honor of winning the SEO contest twice in 2011 and 2012. If you have … | |
I needed an audio recorder which can record multiple audio and also upload multiple audios.Audio recorder function into our application program in PHP. | |
I have text that is displayed from a database and I have managed to remove the first h3 tag in the text by using the following code but I would also like to remove the two <br> tags that are before the paragraph of text <h2 class="productsummaryheading mb-0">Product Summary</h2> <?php … | |
Greetings Folks! I had signed up on Daniweb many years ago but never bothered to seriously post until now. Only when the "social networks" of the world like Reddit and Quora and Twitter started disappointing me beyond the usual excruciating limits did I decide to explore some other programming forums … |
The End.