Posts
 
Reputation
Joined
Last Seen
Ranked #260
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
93% Quality Score
Upvotes Received
43
Posts with Upvotes
39
Upvoting Members
17
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
19 Commented Posts
~10.6K People Reached
Favorite Tags
php x 276
xml x 65
mysql x 61
seo x 53
Member Avatar for borobhaisab

Good Evening Folks, I got some basic questions on Tablets. Which Tablet do you recommend I buy to use for php programming ? I never bought a Tablet before. Now taken an interrst to buy one but need to buy one suitable for programming. I Always program using pc or …

Member Avatar for QuintinFields
0
506
Member Avatar for borobhaisab

Hiya, I program on PC laptop mostly throughout the year. And in winter, program on my mobile phone. Nokia 2 (old timer). I got now Samsungs which are better. So thinking of programming on them too, just for fun (so to speak). I am curious to see my Samsungs Desktops …

Member Avatar for QuintinFields
0
204
Member Avatar for borobhaisab

Gents & Gentle Women, What features would you like in a searchengine as a: Searcher (buyer/shopper/consumer). Website (vendor/seller).fed-up of the searchengines. They have not changed since 1998. Let's brainstorm a new way of searching websites via searchengines. Meaning, we used to find links via link directories first whewre we had …

Member Avatar for Dani
0
339
Member Avatar for borobhaisab

Dear Forum Fellows, I do not like paypal. Thinking of adding BitCoin instead. Do you know of any BitCoin wallet/service where the transactions are free ? I do not like the middleman services as they hold onto your BitCoins in their servers and if they get hacked then you have …

Member Avatar for Dani
1
215
Member Avatar for borobhaisab

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 …

Member Avatar for Dani
1
1K
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
166
Member Avatar for Reverend Jim

@Reverend Jim Thanks for opening this thread. I have found these Religions speak about the Final Age. As far as I know, they came in this order: Hinduism Judaism Buddism Christianity Islam The more modern a Religion is the more it will have more details about the End Times as …

Member Avatar for Reverend Jim
0
116
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
79
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
90
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
111
Member Avatar for borobhaisab

Tech Gurus, I am interested top learn more about these AIs. ChatGPT and the like. I have been seeing youtube videos about ChatGPT3 but the link was not working few weeks ago and so I quit it. Now checking them out again. I am only interested in those that have …

Member Avatar for Reverend Jim
0
129
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
86
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

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
318
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 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
50
Member Avatar for borobhaisab

Programmers, I need you to recommend me a vps host that provides unlimited & unmetered bandwidths. Which vps host and their pack do you recommend ? Gonna run my own searchengine. Building one with php. Gonna start small and so do not want to rent a dedicated server just yet …

Member Avatar for borobhaisab
0
56
Member Avatar for borobhaisab

Hello There, I am searching for a vps host that will give me unlimited bandwidth as I want to run a searchengine from scratch after I build it and I do not want to get any monthly limits and find I have gone over the limit and my website has …

Member Avatar for borobhaisab
0
84
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
140
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
188
Member Avatar for borobhaisab

Ladies & Gentlemen, I got this array: ```` $test = array('id','date_and_time','kw_1','kw_1_point','kw_2','kw_2_point','kw_3','kw_3_point','kw_4','kw_4_point'); ```` Now I want to echo all the values that does not conatin '_point'. So, how to do that ?

Member Avatar for Dani
1
112
Member Avatar for borobhaisab

Hiya, I do not understand why this crawler fails to echo found links on a page. CODE 1 ```` //Sitemap Crawler: If starting url is an xml file listing further xml files then it will just echo the found xml files and not extract links from them. //Sitemap Protocol: https://www.sitemaps.org/protocol.html …

Member Avatar for borobhaisab
0
164
Member Avatar for borobhaisab

Hiya, It seems to me that if I put a condition on ```` mysqli_stmt_fetch($stmt); ```` to check if user credentials was ok enough for the data to be fetched, then the whole purpose of using the following function is defeated. ```` password_verify() ```` This is what I mean .. ```` …

Member Avatar for FilipKappa
0
61
Member Avatar for borobhaisab

Hello Folks, How to rid GET METHOD from echoing the submitted webform's search button name in the destination url ? My site search page's url looks like this: http://localhost/Work/buzz/Templates/pagination_GET_METHOD_TEMPLATE.php When I click the search button, I am taken to same page ````$_SERVER['PHP_SELF'];````. Taken to: http://localhost/Work/buzz/Templates/pagination_GET_METHOD_TEMPLATE.php?search=&match=fuzzy&index=crawled_links_index&limit=1&web_search_button= NOTE the last part of …

Member Avatar for Dani
0
65
Member Avatar for borobhaisab

This fails: ```` $password_hashed = password_hash(trim($_POST['password'],PASSWORD_DEFAULT); ```` This also fails: ```` $password_hashed = password_hash(trim($_POST['password'],PASSWORD_DEFAULT)); ```` This works: ```` $password_hashed = password_hash(trim($_POST['password']),PASSWORD_DEFAULT); ```` But I thought trim( did not have the closing bracket. Manual shows it does. So this is why above 3rd sample working ?

Member Avatar for Dani
0
76
Member Avatar for borobhaisab

Hi, I got this long version code: ```` if(ISSET($_GET['limit'])) { $limit = intval($_GET['limit']); } else { $limit = intval(1); } ```` I can shorten it, like this and it works: ```` $limit = ISSET($_GET['limit'])?intval($_GET['limit']):1; ```` Now add an echo and try shortening it. And I get error. I got this …

Member Avatar for Dani
0
36
Member Avatar for borobhaisab

I need to check db for matching user credential on login script. There must be atleast one matching row. Else, script should alert user not registered. Need to check the db using the function ````mysqli_stmt_num_rows()````. Assignment is to list all the various valid ways this function can be used to …

Member Avatar for Dani
0
46
Member Avatar for borobhaisab

Helle Fellow Programmers! Unlike last time where I was checking for matching rows count using mysqli_stmt_rows_count(): https://www.daniweb.com/programming/web-development/threads/539306/login-with-prepared-statements-mysqli-stmt-num-rows-function On this thread, I am checking for matching rows count using Sql's COUNT function. This means, both threads are not same so mods do not close them. Issue is, on both threads, no …

Member Avatar for borobhaisab
0
134
Member Avatar for borobhaisab

Hiya, Which of these IF CONDITION codes are valid ? And can you rank the valid ones according to your choice by giving reasons to your choices ? Thanks! 1. ```` $conn = mysqli_connect("localhost","root","","buzz"); $sql = "INSERT into users (username,email) VALUES (?,?)"; if($stmt = mysqli_prepare($conn,$sql)) { mysqli_stmt_bind_param($stmt,"ss",$_POST[username'],$_POST['email']); if(!mysqli_stmt_execute($stmt)) //FIRST CHOICE …

Member Avatar for Dani
0
74
Member Avatar for borobhaisab

Hiya, Is this: ```` function unset_sessions() { //All Sessions on the script .... UNSET($_SESSION['registration_form_display']); UNSET($_SESSION['registration_form_button_clicked']); UNSET($_SESSION['domain']); //Form Input UNSET($_SESSION['domain_email_account']); //Form Input UNSET($_SESSION['domain_email']); //Form Input UNSET($_SESSION['password']); //Form Input UNSET($_SESSION['errors']); Displays errors underneath the form. echo __LINE__; echo '<br>';//DELETE } unset_sessions(); ```` the exact same as this: ```` session_destroy(); ```` I ask, …

Member Avatar for Dani
0
54