41,403 Topics
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 …
Folks, We already know about CodeIgniter and its enormous capabilities as a PHP framework, this very site being a testament of it. But what about an even smaller micro-framework for PHP? Something along the lines of Flask or Bottle? Something you can use to develop things like REST API, prototyping …
I was consistently receiving MySQL "Packets out of order" error messages when attempting to connect to MySQL, mostly on my AJAX pages, but I couldn't attribute it to anything or reproduce it in any way. I did notice, however, that when switching MySQL persistent connections from on to off, the …
DaniWeb is built on top of the Codeigniter 3.1.x PHP framework. Although I probably should have built it as a CI model, here is the database library that we are using. You can see it mainly serves as a wrapper for CodeIgniter's built-in database class. You can see we use …
Hi, We are an educational institute. We are looking to implement something unique, we want to add multiple forms/surveys on the same page, we want each feedback form/survey under student name and rank so they can easily provide the feedback and then that feedback should be displayed on the same …
How can I include objects in each other using PHP OOP? I have 3 classes all classes make use of one another. I am trying to call them on `__construct` but it's creating an infinite calls to one another. How can I solve this?
I want to display different html tags on the php page they are visiting, for example on the homepage and the computer shop basildon page I want the html tag `<section class="testimonal-two pt-0">` and on all other pages I want the code `<section class="testimonal-two">` Below is the code I have …
About a year ago, I had a similar issue except then system would crash after pressing Submit. The issue was caused because of PHP 8 incompatibility problems. However, got the coding to fix all of that and things worked good again and with PHP 8. But now something new is …
I want to understand how I can add an SDK to my PHP projects to make APIs calls. I noticed that every software company have an SDK. I also noticed that most SDKs use Composer. I don't know what composer is and do I need to have it for every …
Hello guys, please can someone explain to me how i can know the framework of any website on the internet. I know how i can detect wordpress but other framework are hard for me. Please i need assistance on this.
Hello I am trying to query a database to show records only for the current user using variable I get the correct data but only 1 row with results any guidance? // Query database to retrieve records associated with the user $sql = "SELECT * FROM table_name WHERE variable_name = …
I have develop a website for now its on wordpress i will move on to more custom an secure option can any of you help me decide if to ad more services or not to it....just for your info me and my friends are freelancer and each of my friend …
I have problem with this htaccess in STATIC URL RewriteEngine On RewriteRule ^readlex/(.*)$/?$ readlex.php?slug=$1 [NC,L] **DINAMIC URL** work fine only with defined CONSTANT: Example <a href="<?php echo BASE_URL.READ_LEX ?>Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex/Le-mura-di-Lucca **STATIC URL** not work (??) <a href="localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca ***Unfortunately I can't insert the php CONSTANTS in …
Hello webmasters, I am currently building a template that I am going to sell on different websites like Codester and CodeGrape. I want to build a business directory. Here is what I have come up with ... 1. users can register and add listings. 2. admin can create categories for …
What was wrong with good ole using SMTP? Has anyone here successfully used an XOAuth library for PHP? Specifically, I'm looking to connect to my Office 365 mailbox.
I, very hackily, create an object of type stdClass as so: $arr = array( 'foo' => 'bar', 'baz' => 'bat' ); $obj = json_decode(json_encode($arr)); How can I now quickly add a third property to $obj without PHP getting angry?
I'm using Elementor Pro to build my website, including a custom header design. However, when the same header is applied to a page built with the Kadence theme (specifically the blog page), the design breaks down.  What settings or configurations within Elementor Pro might be causing the mismatch?
hai. i would like to know is there have any video that can teach how to import image from database image folder to pdf using fpdf php. i already read some post here regarding to that issue by im not very clear and blur. actually i am very new in …
I am trying to create my first successful API request. I want to post on my twitter account. I have created the developer account and generated consumer key and secret as well as access token and secret. I have also obtained the bearer token. I want to post on Twitter …
For people who used both and build websites with both, which one is better? Why?
What we are going to be covering in this tutorial This tutorial will show you how you can set up a PHP contact form on your web site which will send an SMS message, in this case we will make the contact form send you the information passed by the …
Hi everyone, I'm kind of a newbie and I manage my site, but my site seems to have some issues, and it has so few pages indexed that lots of them are unindexed by Google. After searching for some similar experiences, I'm going to do on-page or technical SEO first. …
Hi, I am trying to migrate products from Magento 1 to Magento 2. I have installed the data migration tool and created the config file as per the Magento guidelines however I get an error when trying to execute the migration command. This is the error: [Magento\Framework\Config\Dom\ValidationException] Extra content at …
Trying to call imagemagick using this code. The errors are with the appcontroller, myadoptscontroller, and index. I have been talking to someone who also uses the Mysidia Adoptables code and they provided me their code to edit, I edited their code but it is throwing these errors and I’m not …
hai i need php code for simply drop and drop to create website coding ...pls help me ...
Hey Daniweb fam! A bit of backstory about me... I've built dozens of websites and online ventures, both for myself and clients. One thing that's always kept me up at night? The dread of being hacked—losing data, money, and peace of mind. So, I assembled a squad of top-notch devs …
I have a script that delivers an empty gif file when an attempt is made to download an image ("Save image as..."). Here is a link to my page. Try to save either of the first two images from the screen (not screenshots). I have been told that this is …
I have a web page that loads images with a modal, and at the same time is meant to inhibit image piracy by delivering a transparent overlay when a user attempts to make a screen copy of the image. I have two php lines of image scripts which work OK …
Hey guys, so I've been trying to create a website that allows users to update and delete records through the database I've set up in SQLyog. In my update confirmation file I've added location theme description to be updated and changed for all users. but for some reason its unable …
We are in the process of upgrading both the version of Codeigniter PHP framework we are using, as well as the version of PHP we're on. We are just putting some final touches and anticipate going live in the next few days. I'll update this thread when we do. If …
Hello, I do not understand why the simplehtmldom is failing. This is the code: <?php ini_set('display_errors',1); ini_set('display_startup_errors',1); error_reporting(E_ALL); //--- include_once('simplehtmldom_1_9_1/simple_html_dom.php'); //--- $url = "https://victoriousseo.com/sitemap_index.xml"; $html = new simple_html_dom(); $html->load_file($url); //-- foreach($html->find("a") as $link) { echo $link->href."< br />"; } ?> I got the simplehtmldom.php on the same directory as the …
Hello everyone, how are you? My name is Sarah and I work in marketing and market discovery for a startup. Now we are focused on SEO strategies and I am looking for professionals responsible for company websites to do some benchmarking on SEO strategies. Would anyone be willing to exchange …
I am trying to implement multi authentication in `laravel5.2`. I am following [this article](http://saravanan.tomrain.com/multiauth-in-laravel-5-0/) My **Auth.php** <?php return [ 'multi' => array( 'user' => array( 'driver' => 'eloquent', 'model' => 'App\User', 'table' => 'users', ), 'admin' => array( 'driver' => 'database', 'model' => 'App\Admin', 'table' => 'tbl_admin_user', ) ), 'password' …
I am integrating [Speakatoo](https://www.speakatoo.com/) API in my project its giving me cookies error, Please any one can help me.
Hi Guyz, Name some best wordpress plugins to try Out in 2023? From your experience!
In HTMl from I have a Input field type month. When I select a month and click on search button then total days of selected month show in HTMl table with backend data. This table contain salary. I want the salary is calculate with Total days. I write a script. …
Hi, After searching for many days I was not able to find any good PHP JSON Schema Generator, most of them seems to have only the ability to validate schema with a JSON payload. I just found this [php-json-schema-generator](https://github.com/evaisse/php-json-schema-generator) today but it seems to be not maintained often, it does …
Hi guyz, Zero Party Data Collection in Ecommerce Is it emerging now? Please share your thoughts about how its going on?
Hi guyz, What are the APIs you guys using to build an SEO softwares?
Hi Guyz, What are the signs that you would consider to find out that your website needs a upgrade or update?
The End.