2,612 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for midyajai

I am trying to understand Boyer Moore algorithm & KMP algorithm (Knuth Morris Pratt)? I tried some places like GeeksForGeeks, TutorialsPoint etc. But I have still some doubts. If you guys have some resources or videos where these algorithms are explained in somewhat simple terms, please share them. First I …

Member Avatar for Alisha_8
-1
718
Member Avatar for r4ds

I'm trying to find a concrete example where that type is used, I can't find any on the whole internet, the documentation of the package is very advanced or doesn't give details. It all started from trying to find an error that was "*goneException*" when using *postToConnectionInput* to a client …

Member Avatar for AndreRet
1
84
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
381
Member Avatar for Amit_108

HELLO ALL ! I am new here and a Lerner,beginner. I need help from you all great mind in my project that i have a datatable dt. i retrieve data from sql to a data table named dt in vb.net. now i want to write result in notepad where user …

Programming c sql vb.net
Member Avatar for Santanu.Das
0
156
Member Avatar for Read a Book

Hello everyone, i am in some kind of testing stage where i want to test some security flaws on websites/browsers with the cookies. I want to generate google cookies with a different time period. (older than 2 months). Firstly I will try to integrate into the browser via JS Secondly …

Member Avatar for AndreRet
1
417
Member Avatar for UKnod

I am using visual basic dot net, with the asp.net add on. I have created a programme which works great, basically it has a logon, which uses mysql for the data, then loads a 2nd page using the username data. I am using the global variable to store the username …

Member Avatar for Santanu.Das
0
267
Member Avatar for Joaquim_5

VB6 : is possible convert radians to pixels? the WindowViewe is 200 pixels. so i need draw 200 lines between PlayerAngle(100 pixels) to 200. but how can i convert pixels to Radians... the PlayerAngle is the 100 pixel(the half of WindowViewe) Private Sub rayCasting() Dim rayAngle As Double Dim IncreRayAngle …

Member Avatar for Joaquim_5
0
164
Member Avatar for seth_yu

[Click Here](https://github.com/codecat/catsight) Thank you very much if you can provide compiled Windows binaries or converted VS projects that are preferred

Programming c c++
Member Avatar for rproffitt
0
157
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
181
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
186
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
116
Member Avatar for masocha

Please assit to translate the following code from python to php [Click Here](https://www.dropbox.com/s/qndlm9qenvge6sf/pyussd.rar) Thank you

Member Avatar for Mike_106
0
6K
Member Avatar for MarkMarketer

Question for marketers. I was thinking the other day about AI creating content and I was wondering if AI generated content had an impact on a website's SEO. Does Google allow this?

Member Avatar for Ella_8
0
137
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
91
Member Avatar for Mark_136

Are there any limitations to text recognition from images, such as the quality of the image or the complexity of the text?

Member Avatar for Fifth Horseman
0
83
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
80
Member Avatar for Kare12

Hi, I am a beginner. I am trying to get a audio notification when the Android battery is full and low. I understand the logic. As in, check battery status, then if battery_full run Android Media Player. I am trying to use it for my home needs. This is the …

Member Avatar for Kare12
0
60
Member Avatar for Dani

I received this email: > > Hello Google Developer, > > We're writing to let you know that we detected the use of an embedded webview in requests to Google's OAuth 2.0 authorization endpoint in the past 120 days associated with one or more of your OAuth client IDs listed …

Member Avatar for Dani
0
423
Member Avatar for 143wena

im a first year student of computer science course. our teacher teach us c++ program and i cant understand it well.now my teacher want us to make a menu system or payroll system.. the format she teach us is like this 1.) write a program that will accept users input …

Member Avatar for Aldrin_3
0
689
Member Avatar for Dani

I'm really bad with regex. For the purposes of URI rewriting, I'm trying to figure out how to match a word one or more times in a string. For example, I want to do something like: string/string/string/foo/bar => foo/bar string/string/bazbat => bazbat Currently I have: ^string/(.*)$ => $1 and that …

Programming regex
Member Avatar for Reverend Jim
0
127
Member Avatar for Williams Brown

It is difficult to predict with certainty which specific types of apps will be in demand in the future, as it depends on a variety of factors. However, considering recent trends, apps for games will continue to dominate and be the most demanded apps in the future followed by education …

Member Avatar for john_378
2
189
Member Avatar for domingo

hi, i have a problem with my code. i have 1 tab control and 3 tabs. now the problem is that when i switch from one tab to another i want the datagridviews to clear their selection. this code works but when one selects the tab for the second time. …

Member Avatar for carl.cody
0
3K
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
87
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
50
Member Avatar for fiju

How to use init function in coldfusion.Could any one explain with a good simpla example. And also scopes(VARIABLES and THIS) while writing an init function in a component.

Member Avatar for anita.jena
0
5K
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
354
Member Avatar for epsilonb

I am trying to import a list from a txt file, but the reader skips the first line and also adds the last "null" line that the file writer adds. I fixed the null part but I can't seem to be able to add the first line in the list. …

Member Avatar for JamesCherrill
0
351
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
103
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
205
Member Avatar for Rasec_1

Hello all, I know very few of Javascript. I'm trying to identify which JavaScript functions are called in this [site](https://htmlpreview.github.io/?https://github.com/robatron/sudoku.js/blob/master/demo/index.html#). The script updates the board when the labels "easy","medium", "hard", etc are selected and when the buttons "solve" or "candidates" are pressed. I've tried with F12 (Developer tools) but I …

Member Avatar for rproffitt
0
25

The End.