-
Liked / Shared Sanitize PHP user input strings
Suppose you have a php script where a user is prompted to enter a number. You then do something with that number ... you increment it, perform some other math … -
Replied To a Post in Changes to context menu?
> Possibly, but since I keep getting recommended to answer questions in areas for which I have no expertise I'm not willing to just accept what some algorithm "thinks" I'd … -
Replied To a Post in Changes to context menu?
Wouldn't it be simpler to just use the [Recommended Topics](https://www.daniweb.com/articles/latest/recommended) feed which already filters out topics not recommended for you? -
Replied To a Post in Can This OOP Be Convert To Procedural Style ?
Please read up on it again, and then go back to my post at https://www.daniweb.com/programming/web-development/threads/538867/php-xml-sitemap-crawler-tutorial-sought#post2288470 where I tried to explain the BJ_Crawler class line by line. If you still don't … -
Replied To a Post in simplehtmldom Failing
> Where did I go wrong on your code on my previous post ? You commented out `// $message = str_replace(array('<body>', '</body>'), '', $doc->saveHTML($doc->getElementsByTagName('body')->item(0)));`, which is supposed to be at … -
Replied To a Post in Can This OOP Be Convert To Procedural Style ?
> If you write comments on the lines then I should not be bugging you to explain the lines I fail to understand. I attempted to do that [here](https://www.daniweb.com/posts/jump/2288466) and … -
Replied To a Post in Can This OOP Be Convert To Procedural Style ?
The code that you are starting with is procedural. It's simply incapable of doing what you're requesting. The only way to accomplish what you're wanting is with multiple functions and … -
Replied To a Post in Hi everyone, I'm alexjames5
What field are you referring to? -
Began Watching Hi everyone, I'm alexjames5
hello everyone i have a huge experience in the field of it i am sure i will help u all in future -
Edited Changes to context menu?
While going through new posts this morning I noticed a change in behaviour. Yesterday, if I clicked on the sprocket to the right of a thread title I got a … -
Replied To a Post in Changes to context menu?
Also, out of curiosity, what do you use that dropdown menu for? -
Replied To a Post in Changes to context menu?
OK so the weirdest thing just happened. The file was reverted back to its original buggy state and somehow not checked in on git. Was I dreaming yesterday? I must … -
Replied To a Post in Web services testing
Myself, along with everyone else I know, uses Postman. -
Began Watching Web services testing
I am new to programming and testing. I would like to know if there are any useful articles or resources where I can see how to test a web service. … -
Replied To a Post in Changes to context menu?
Ah, nope, it’s happening for me too. I’ll look in a little bit. Still in bed again. -
Replied To a Post in Changes to context menu?
Happening in the exact same place? Try clearing your browser cookies perhaps? -
Replied To a Post in SEO trends in 2022
> According to several surveys, it has been seen that long-form content gets the maximum amount of traffic. Any article which is around 3000 words retains the interest of the … -
Replied To a Post in Need help with this DBMS interview Concept
I have no clue what you're referring to, rproffitt? Huh?? That being said, I don't understand why DaniWeb is flagging the link as broken when it's not. Weird. I'll check … -
Replied To a Post in How to use Facebook to promote your Business?
I am an active Facebook user. Facebook Messenger is my primary means of communicating with friends. Facebook Ads tend to perform much better for me when promoting DaniPad, my coworking … -
Began Watching How to use Facebook to promote your Business?
Facebook remains the most popular social media platform with nearly 3 billion users worldwide, out of which 2.9 billion people are active social media users. With an effective Facebook marketing … -
Marked Solved Status for Changes to context menu?
While going through new posts this morning I noticed a change in behaviour. Yesterday, if I clicked on the sprocket to the right of a thread title I got a … -
Replied To a Post in Changes to context menu?
It should be fixed now, but you might need to clear your browser cache. -
Replied To a Post in Changes to context menu?
Thanks for reporting this. It’s a bug introduced yesterday when converting actionable <a> tags to <button> tags. I’m still in bed after a late night (coding said change) and I’ll … -
Began Watching Changes to context menu?
While going through new posts this morning I noticed a change in behaviour. Yesterday, if I clicked on the sprocket to the right of a thread title I got a … -
Edited I like,love you,thanks you!!!!!
I like,love you,thanks you!!!!! -
Replied To a Post in Php Xml Sitemap Crawler Tutorial Sought
Just so that everyone will always know what's being referred to, in case the other page is taken offline, here's the code I'm referring to: #!/usr/bin/php <?php /** * @license … -
Replied To a Post in How Many Levels Deep Do Xml SItemaps Go ?
There can be an infinite number of levels of sitemap index files pointing to sitemap index files pointing to sitemap files. Luckily, the BJ_Crawler class you described over in [your … -
Began Watching How Many Levels Deep Do Xml SItemaps Go ?
Hiya, I need to know something. First I thought Sitemap Xml files will list all .html and .hml and .shtm and .shtml files. All pages of the website. But now … -
Replied To a Post in best size for a favicon?
I have never heard favicons be referred to as tab icons before. -
Began Watching best size for a favicon?
Hello Anyone knows what is the best size to use when creating a favicon so that it appears nice in both Firefox and IE tabs? -
Replied To a Post in simplehtmldom Failing
> I do not understand what an object is. Still at procedural style. I am trying to teach you as there's no way for you to accomplish what you're trying … -
Replied To a Post in Hi everyone, I'm Omar from Egypt
Hi Omar! Welcome to DaniWeb :) -
Began Watching Hi everyone, I'm Omar from Egypt
Hello everyone, I'm Omar Alaa from Egypt. I launched a marketing agency lately and 've been performing good since it started. I'm here looking forward to widen my network and … -
Replied To a Post in How To Do Fuzzy Match Sql Query ?
Ah yes!! I was initially saying that ? was invalid SQL but it's not with prepared statements. (Sorry, I pretty much never use them so it didn't occur to me … -
Replied To a Post in How can I upload a specific row without updating all the rows?
May I point out that I hate prepared statements :) But yeah, you have `WHERE id=id` and what that does is check if the contents of the id field of … -
Began Watching How can I upload a specific row without updating all the rows?
So, I have made a table called `supplies_table` and inside the table is `id`, `name`, and `files`. And I also made an upload button where it can upload a pdf … -
Replied To a Post in Php Xml Sitemap Crawler Tutorial Sought
> I am curious, have you ever built a web crawler before ? I have not, but I have 20 years of PHP experience, and built this site. While not … -
Replied To a Post in Php Xml Sitemap Crawler Tutorial Sought
> If you know of any small site's xml sitemap url then let me know so I can test each sitemap crawler code I come across on that small site. … -
Replied To a Post in Php Xml Sitemap Crawler Tutorial Sought
> No need to write php code for the crawler to sniff out the SiteMap url as the site owner's will submit on the "Link Submit" form the url of … -
Began Watching Php Xml Sitemap Crawler Tutorial Sought
Hello, I am building a searchengine with php. Nearly finished. Now, I need to build the web crawler. Since most websites have xml sitemap for web crawlers to use to … -
Replied To a Post in Can This OOP Be Convert To Procedural Style ?
Nowadays, modern PHP code tends to be very OOP-focused, so I think the long term goal should be to step-by-step learn OOP so that you can come to appreciate the … -
Began Watching Can This OOP Be Convert To Procedural Style ?
I am still at procedural style programming. And so, oop code samples confuse me. I found this oop style. Any chance you can show me how to convert this to … -
Replied To a Post in simplehtmldom Failing
I'm glad you got it working. I'll mark this question as solved. That being said, why use simple_html_dom.php at all? I use PHP's built-in [DomDocument class](https://www.php.net/manual/en/class.domdocument.php) as so: // Initiate … -
Began Watching simplehtmldom Failing
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); //-- … -
Marked Solved Status for simplehtmldom Failing
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); //-- … -
Marked Solved Status for Laptop function (fn) key is always on
Hey people I have just recently purchased an Advent ERT2250 Laptop and the function (fn) key seems to be constantly on. This means i have to hold the fn key … -
Replied To a Post in Multipage asp.net password protected website template
Here's a random article I stumbled upon after a Google search: https://www.c-sharpcorner.com/article/how-to-create-login-page-in-asp-net-web-application-using-c-sharp-and-sql-server/ If you do a google search for ["asp.net login system"](https://www.google.com/search?q=asp.net+login+system&rlz=1C5CHFA_enUS979US979&oq=asp.net+login+system&aqs=chrome..69i57j0i22i30l3.4403j0j7&sourceid=chrome&ie=UTF-8) there seem to be a handful of options … -
Began Watching Multipage asp.net password protected website template
Hi, I am .net developer. I need a Multipage asp.net password protected website template or sample. Thanks Kaan -
Replied To a Post in How to do onpage SEO?
40-50% of what? -
Replied To a Post in Need help with this DBMS interview Concept
> That link. Does it take me in circles? Rproffitt is referring to the link you posted just pointing to this very page. I had actually never heard of the …
The End.