38,019 Topics

Member Avatar for
Member Avatar for Mindmade
Member Avatar for Reverend Jim
-2
285
Member Avatar for xamer

In the dynamic and ever-evolving landscape of cryptocurrency, where virtual fortunes are created and exchanged in the blink of an eye, the significance of security cannot be overstated. As the digital realm intertwines with the financial world, the need to protect digital wealth from potential threats and vulnerabilities becomes an …

Member Avatar for AndreRet
0
63
Member Avatar for developer707

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 …

Member Avatar for AndreRet
0
123
Member Avatar for Mindmade

Hi guyz, What is the main purpose of alpha and beta testing? From your own personal experience. Why is Beta Testing is very much important in mobile app development?

Member Avatar for Gulshan_6
-2
43
Member Avatar for Mindmade

Hi guyz, Zero Party Data Collection in Ecommerce Is it emerging now? Please share your thoughts about how its going on?

Member Avatar for Reverend Jim
-3
30
Member Avatar for Mindmade
Member Avatar for Kirubel_2

<!DOCTYPE html> <html> <head> <title>Exercise V3.0</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="w3.css"> </head> <body> <div class="container"> <div class="header"> <ul> <li ><i class="fa fa-home" id="me"></i></li> <li><i class="fa fa-trash" ></i></li> <li ><i class="fa fa-close" id="he"></i></li> </ul> </div> <div class="title"> <span>Completed 15 of 67 Exercises:</span> </div> <div class="nav"> <ul> …

1
88
Member Avatar for Mindmade

Is it good to start your programming career with Python IDE & Editors? If it's is true, Then why it is?

Member Avatar for AndreRet
-2
90
Member Avatar for spud91

I have the following code: <?php session_start(); // Starting Session include_once('config.php'); $error=''; // Variable To Store Error Message if (isset($_POST['submit'])) { if (empty($_POST['user']) || empty($_POST['pass'])) { $error = "Please complete both fields"; }else{ // Define $username and $password $user=$_POST['user']; $pass=md5($_POST['pass']); // To protect MySQL injection for Security purpose $user = …

Member Avatar for GESTIC
0
1K
Member Avatar for Mindmade
Member Avatar for david.tigner

I am trying to upgrade from ReCaptcha v1 (in use and working good since 2017) to ReCaptcha v3 as ReCaptcha is not compatible with any of the PHP v8's. I started setting it up (got site and secret keys) and coding for 2 versions of ReCaptcha v3 (1. Automatically bind …

Member Avatar for david.tigner
0
288
Member Avatar for Mindmade
Member Avatar for Richard_Harldsn

I have duplicate H1 tags on all pages of my website's blog, including tags, categories, and more. I have tried using default tools to fix the issue, but have been unsuccessful. I was wondering if any of you have experienced this problem before? My website is https://softwareplanetgroup.co.uk/blog/. Thanks anyway!

Member Avatar for Richard_Harldsn
1
174
Member Avatar for borobhaisab

@dani I got ChatGpt to fix my Crawler that was showing error. This code that was showing error: My Buggy Code ```` <?php //START OF SCRIPT FLOW. //Preparing Crawler & Session: Initialising Variables. //Preparing $ARRAYS For Step 1: To Deal with Xml Links meant for Crawlers only. //SiteMaps Details Scraped …

Member Avatar for borobhaisab
1
67
Member Avatar for borobhaisab

Experienced Fellow Programmers, I asking questions to those who have experiences with web crawlers. I do not want my web crawler getting trapped onto some domain, while crawling it. Trapped and going in a loop for some reason. And so, what to look-out for to prevent loops ? 1.I know …

Member Avatar for borobhaisab
0
75
Member Avatar for borobhaisab

@dani Checking these 2 working codes of your's out. I got some basic questions. 1 ```` <?php ini_set('display_errors',1); ini_set('display_startup_errors',1); error_reporting(E_ALL); //Dan's Code. //Code from: https://www.daniweb.com/programming/web-development/threads/538868/simplehtmldom-failing#post2291972 //Sitemap Protocol: https://www.sitemaps.org/protocol.html // Initiate ability to manipulate the DOM and load that baby up $doc = new DOMDocument(); $message = file_get_contents('https://www.daniweb.com/programming/web-development/threads/538868/simplehtmldom-failing#post2288453'); // https://www.php.net/manual/en/function.libxml-use-internal-errors.php libxml_use_internal_errors(true); …

Member Avatar for borobhaisab
0
81
Member Avatar for borobhaisab

@dani I got ChatGpt to fix my Crawler that was showing error. This code that was showing error: My Buggy Code ```` <?php //START OF SCRIPT FLOW. //Preparing Crawler & Session: Initialising Variables. //Preparing $ARRAYS For Step 1: To Deal with Xml Links meant for Crawlers only. //SiteMaps Details Scraped …

Member Avatar for AndreRet
1
94
Member Avatar for borobhaisab

Folks, This is absurd! As you know, some crawler codes on the internet exist where you get it to navigate to a page and it extracts all html links. hrefs. Code such as this one: ```` //Sitemap Protocol: https://www.sitemaps.org/protocol.html include_once('simplehtmldom_1_9_1/simple_html_dom.php'); //WORKS. //$sitemap = 'https://www.rocktherankings.com/post-sitemap.xml'; //$sitemap = "https://www.rocktherankings.com/sitemap_index.xml"; //Has more xml …

Member Avatar for borobhaisab
0
81
Member Avatar for nander

Anyone seen or had this happen before, whenever I add, edit or delete in this datable. It only does this when I add the js pagination\search ![TableDuplicate.JPG](https://static.daniweb.com/attachments/4/792aec684975bfed8e5e50cce0835187.JPG)

1
44
Member Avatar for borobhaisab

Folks, I have never programmed any API stuff. Let us change this tonight. I want to allow people to pay me with BitCoin on my website. This you see below is API vofr of the Official BitCoin Payment Gateway. Now, show me how to integrate this on my website. Meaning, …

Member Avatar for AndreRet
0
84
Member Avatar for Mindmade
Member Avatar for borobhaisab

Folks, Using DomDocument, I am trying to build a crawler that, when I feed it a starting point url (initial url to start the crawling & link extracting from), it should navigate to the starting url and extract all the links found on the page. ```` <?php $xml = file_get_contents($sitemapUrl); …

Member Avatar for borobhaisab
0
193
Member Avatar for borobhaisab

Hello, Got questions on Sql and Php Prepared Statements. How would you check whether the SQL managed to update a row or not ? Which one of the following lines would you add the IF condition to ? 1). mysqli_stmt_execute() 2). mysqli_stmt_affected_rows() Which of the following examples A-D are a …

Member Avatar for pritaeas
0
198
Member Avatar for borobhaisab

Hello There, Look at this PAGINATION I built. This script I built from scratch and is working fine to query my Mysql DB and show results. But I need your feed-back to know if I managed to use the functions in the correct order or not. //FUNCTIONS IN USE TO …

Member Avatar for pritaeas
0
36
Member Avatar for Mindmade
Member Avatar for abu taher

I try to upload image in my database. I write these code, but it's not update may database. <?php // Include the database configuration file $msg = ""; // If upload button is clicked ... if (isset($_POST['upload'])) { $filename = $_FILES["uploadfile"]["name"]; $tempname = $_FILES["uploadfile"]["tmp_name"]; $folder = "./image/" . $filename; $db …

Member Avatar for abu taher
0
87
Member Avatar for Dani

I've been using CodeIgniter 3 for many years now, and have yet to migrate over to CodeIgniter4. Anyone here using Yii, Laravel, Symphony, CakePHP, or any others? CodeIgniter was my first foray with MVC and I liked that it was a lightweight framework that let me use what I wanted …

Member Avatar for pritaeas
0
95
Member Avatar for borobhaisab

Hiya, I know it is possible to auto generate prepared statements based on table column names and numbers. But how to achieve it ? I have many tables and I want to allow visitors to be able to search these tables. Now, if I have 20 different tables, I do …

Member Avatar for borobhaisab
0
127
Member Avatar for borobhaisab

Hiya, I need to learn the SQL query that counts all the points from more than one column and orders the matching rows based on most points in descending order. EXAMPLE 1: I do a keyword search for "mobile phone tutorial apps". Note 4 words. Sql should find all the …

Member Avatar for Dani
0
184
Member Avatar for Mindmade

The End.