41,412 Topics
# NOTE # This was a PHP sticky, and I am working to turn it into a development sticky. If you have any comments, additions or other observations, please reply to [this thread](https://www.daniweb.com/community-center/daniweb-community-feedback/threads/505442/read-this-before-posting-sticky). # Before you ask # - Read our [Forum Rules](https://www.daniweb.com/welcome/rules). - Engage your brain! We understand that …
Hey everyone, I've been developing a vertical SaaS platform (Platform V2 / 570Photos) built specifically for independent creative studios and photography businesses. The main pain point with existing CRM and studio management tools is visual clutter: deep navigation hierarchies, endless submenus, and spreadsheet-like interfaces that get in the way of …
I’m planning a small content-focused website and trying to decide whether WordPress is still the better option or if building something lightweight with custom PHP makes more sense. The site would mainly have articles, categories, search, and a simple contact form. Performance and easy maintenance are more important to me …
Trying to start a matrimony platform and don't want to make the usual mistakes. Here's what people keep telling me to watch out for: * Cheap platforms that can't do horoscope or community matching properly * Skipping profile checks, fake profiles ruin trust fast * No way for parents to …
I’ve been exploring how AI chatbots can be integrated into web applications, but reliability seems to be a bigger challenge than simply connecting an LLM API. For a production chatbot, how do developers handle things like hallucinations, outdated information, conversation context, authentication, and access to application data? For example, if …
getting income per month I have a good idea for you to make money I'd like to work with EU or American additionally australia Your role Account management (Create, Verify, Laptop full time support 24/7)
I'm wondering what sort of code is implemented when creating an online casino / sportsbook web-site. I've been looking into a start-up, but refuse to pay 100k for software, especially if my game programming friends can help me out. What sort of code is used? C, C++, PHP, Perl, Ruby, …
Hi, I have been going round in circles for the past few hours and I need some help please with the following header location. [code]header("location: http://www.websitename/members/securecode/index.php");[/code] I have a login script that works great until i get to line 81 ?? the above header location. here is my script - …
Hi, everybody. I write bots and decided to share my experience of writing bots on the [Chat API] platform, maybe it will be interesting to someone We’ll tell you how to write a simple bot on PHP using API WhatsApp. A demo bot will react on commands of ordinary Whatsapp …
Here's a fun one... How would you solve a basic simultanous equation with PHP? I have an array with a range [high,low] of [378,395] and I want to normalise the data in that array between the values of [-1, 1]. From that, using `x => ax + b`you get the …
SendMail() should delay before if ($query->execute()) { So that it is run prior to running if ($query->execute()) { <?php // I solved the // Redo, until it works! include('db/db.php'); $userName=$_POST['userName'] ?? ''; $emailVerify=$_POST['emailVerify'] ?? ''; $pass=$_POST['pass'] ?? ''; while (@isset($userName, $pass) and $_POST['submit'] AND !empty($emailVerify)) { if (@strlen($userName) >= 22) …
This is my current code (JS-style, you add as you learn): <?= print "Your items: ". $loot['item_name']; I want to display all of the items from the db-table "game_items"
I am new to the tech stack of this issue. I am new to Next.JS and I am new to BBPress. But this is the tech stack of my "WEC MFG" website, https://excellencematter.net. My page.tsx for the interaction menu option has the <iframe> which contains the bbpress functionality. Now, here …
I passed day by day without found what I need. I have a table with 3 columns: question, score, player_name and code_name What I need? I cannot filter the code_player through variable to have sum total of the score’table that must be displayed on the totalbox' input. Curiosly its works …
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 …
Hi DW, I have an issue here, I want to retrieve data of the week of that supplied date. I want to also do similar thing again but not for the week this time for the month of the date supplied. Here's the code I have to get for the …
Many online eligibility systems fail not because of technical errors, but because of unclear content structure. When users visit a verification portal, they usually want quick answers. If instructions are long, confusing, or poorly formatted, users lose trust immediately. From an SEO and usability perspective, structured headings, short paragraphs, and …
I am posting here because this feels like a technical problem rather than a bank support issue, and DaniWeb usually has people who understand what happens under the hood. I am trying to check my FAB bank balance using both their website and mobile app, but the balance screen either …
But It's not clear to me what type of APIs are out there. I know and REST and GRAPH APIs. Are there any other types? And why do some APIs use application/json while others use application/x-www-form-urlencoded Are there any other types of APIs out there that are popular? Because, I …
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 …
This is a very quick 'n' simple vBulletin SEO hack. It's easy to apply and it's the one I have been using here on DaniWeb for the past couple of months. I was going to wait until we went vB 3.5 to release it but I might as well do …
I’ve been shifting a project from Vue 2 (Options API) to Vue 3 with the Composition API, but I’m running into issues managing shared state across nested child components. Using provide/inject feels hacky and Vuex seems too heavy for small data pieces. What’s the best practice for maintaining reactivity without …
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 …
**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 have a software which demands this extensions on server , i tried by using xampp but failed. In the beginning it demands zend Guard Loader . I have tried to install on xampp but it can't be installed. I have already read this topic and follow and many topics …
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
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. …
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 …
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?
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 …
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! 😊*
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 = 'name@example.com'; //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?
The End.