41,403 Topics

Member Avatar for
Member Avatar for pritaeas

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

39
7K
Member Avatar for Mr.M

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 …

Member Avatar for gottaloveit
0
90
Member Avatar for Zubi_1

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 …

-1
6
Member Avatar for Kokensat

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 …

Member Avatar for Yoruba45
1
57
Member Avatar for FarrisFahad

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 …

Member Avatar for Dani
0
70
Member Avatar for Dani

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 …

Member Avatar for fabwebstudio
2
467
Member Avatar for Dani

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 …

Member Avatar for Dani
0
5K
Member Avatar for whitmanmark

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 …

Member Avatar for WendyDolan
1
79
Member Avatar for strangeday

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 …

Member Avatar for Biiim
1
109
Member Avatar for MasoodDidThat

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

Member Avatar for justicecoder
1
275
Member Avatar for best4earn

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 …

Member Avatar for Milena_4
1
276
Member Avatar for kamal12362

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

Member Avatar for fabwebstudio
1
140
Member Avatar for lewashby

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 …

Member Avatar for mattewwade06
2
429
Member Avatar for Mr.M

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

Member Avatar for Dani
1
169
Member Avatar for M.Waqas Aslam

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 …

Member Avatar for Jennifer_32
1
328
Member Avatar for shimon

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 …

Member Avatar for Dani
0
272
Member Avatar for Dani

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 …

Member Avatar for trcooke
0
145
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 …

Member Avatar for wrteam
0
89
Member Avatar for Dani

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 …

Member Avatar for Dani
1
87
Member Avatar for Codyuk25

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.

Member Avatar for Dani
0
19
Member Avatar for Dani

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 …

Member Avatar for hamza_72
0
105
Member Avatar for Member #120589

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 …

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

Member Avatar for Dani
1
146
Member Avatar for Dani

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.

Member Avatar for Dani
0
35
Member Avatar for Dani

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 …

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

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

Member Avatar for Dani
1
187
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"; …

Member Avatar for geekinformatic
2
122
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 …

Member Avatar for trcooke
0
82
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 …

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

Member Avatar for Dani
2
1K
Member Avatar for Romaric Onel

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! 😊*

Member Avatar for Dani
1
158
Member Avatar for Dani

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

Member Avatar for Dani
0
673
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 = '[email protected]'; //the address to which the email will be sent $name = $_POST['name']; $email = $_POST['email']; $subject = $_POST['subject']; $message = …

Member Avatar for Biiim
0
478
Member Avatar for shinedezigninfo

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 …

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

Member Avatar for simplixi
0
110
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 …

Member Avatar for jasper-king
1
372
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> ' . …

Member Avatar for Dani
1
77
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. ` …

Member Avatar for Biiim
0
104
Member Avatar for Sabby76

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 …

Member Avatar for hostbet
0
637
Member Avatar for Mapnoob

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

Member Avatar for hostbet
0
374
Member Avatar for sah_k

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

Member Avatar for AussieWebmaster
0
50
Member Avatar for Md. Abu_1

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

Member Avatar for scope_2
0
40
Member Avatar for FarrisFahad

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 …

Member Avatar for turhost
0
116
Member Avatar for ianhaneybs

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 …

Member Avatar for jkon
0
59
Member Avatar for pinkod02

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 …

Member Avatar for Destiny Alicia
0
124
Member Avatar for ianhaneybs

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 …

Member Avatar for graceweb
-1
53
Member Avatar for ianhaneybs

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 …

Member Avatar for gottaloveit
0
105
Member Avatar for Classica Blue

Need webmaster fluent in php/mysql to make ongoing updates to my fairly simple e-commerce website. Please advise hourly rate and availability.

Member Avatar for Dani
0
42

The End.