11,557 Posted Topics
Re: rproffitt, the trust score he is talking about is 100% related to the browser used. The purpose of the project is to objectively determine how trustworthy an end-user's web browser they are visiting from is. My trust score is A+ when I visit from Chrome on macOS. It was much … | |
A little while ago, I wrote a [tutorial](https://www.daniweb.com/programming/web-development/tutorials/537376/sanitize-php-user-input-strings) about how important it is to sanitize PHP user input strings. Not only is it important to sanitize user input being fed into a database query, but it's also important to sanitize user input being displayed to the end-user to generate valid … | |
Re: > What is the most effective strategy for a website that does not receive enough traffic? Buy ads. > Which tool or software is the best for tracking website traffic? Google Analytics. > What are some effective methods for driving traffic to a website? Buy ads on social networks (Facebook … | |
A PHP array is essentially a stack of elements that can be used to denote a list, represent a collection of variables, etc. You can easily use loops to iterate over each element of an array. As PHP is a loosely typed language, all of the elements of an array … | |
![]() | Re: I can’t really provide a good answer right now because I’m typing on my iPhone from bed. However, you shouldn’t be making assumptions about the state of arrays being passed into a form (or assumptions about what any user input looks like, for that matter). |
Re: It’s not why people add non-appropriate tags, because most members don’t have access to the tag dialog box at all. The reason that happens is because newbies are instead presented with a list of popular tags and must click to select the relevant one(s), and sometimes none of the tags … | |
Re: I'm really sorry, najiawad0, but I had to ban your account because you stated you are under 13. Legally, we cannot allow you to post. | |
Re: Wish I could help but unfortunately I don't know of any. I used to attend Affiliate Summit conferences pretty regularly though. Perhaps there's a forum over at https://www.affiliatesummit.com/ where they can make recommendations? | |
Re: DaniWeb’s forums aren’t really ideal for job recruiting, but for what it’s worth, I’ve had really great personal experience hiring contractors on Upwork. You might also want to look into Toptal, but I’m not sure if that’s only for developers. Good luck with your job search! | |
Re: I use Chrome, although I admit that Firefox has a good number of advanced plugins beyond the well-known Firebug and Webmaster Tools. | |
Re: > Shouldn't you be answering this question rather than asking? SEO isn't the kind of industry that you can pick up a book or read authoritative text on to learn. It's constantly changing, constantly evolving, and the techniques that make up the industry are all just trial and error from … | |
Re: By definition, REST APIs all follow a specific set of constrains as to how it functions. Using a framework that already takes all of the nuances of REST into consideration can significantly shorten your development timeframe, as you won’t have to reinvent the wheel. That being said, I wrote the … | |
Re: Why did you choose to use MongoDB for this use case? Why convert IP strings to hex? How does it make them more searchable that way? Also, why not use existing solutions, as rproffitt mentioned, such as GeoIP? | |
Re: I think the goal should be to create the *illusion* to the gamer that so much is going on simultaneously when, in fact, a lot of things are over-simplified, not truly random, etc. behind the scenes. | |
Re: SEO plays an integral role in every aspect of creating a website. Therefore, I think it’s important to learn it yourself. Similarly, if you grow to a size where you would like to outsource, it’s important to understand the basics so you will know what you are paying for. | |
Re: The SQL query would be something like: SELECT COUNT(*) FROM ip WHERE ip_address = 'x.x.x.x' If it returns 5 or greater, then redirect them. It's hard to know the exact code to use because you haven't told us if you're using a PHP framework, the library you're using to connect … | |
Re: Check out Quantcast, Compete, Alexa, etc. | |
![]() | Re: Maybe there are simply no rows that have the quote_id set to the value of `$qno` simply because your first query literally deleted all the rows that existed in the database where that was the case. ![]() |
Re: What do you mean by find an external link? Find it where? Huh? | |
Re: The *what*? Do you mean common system? Sorry, I'm not sure what you're referring to. Can you please explain in greater detail? | |
Re: Can I mark this question as solved? Or does it still not work? | |
Re: I don't think it's a failed launch at all. You got thousands of registrations, congrats!! Digital media is all about learning and adjusting. Facebook, itself, lived by the mantra to move fast and break things in its early days. Build stuff, get it out there, see what works, see what … | |
To AMP or not to AMP, that is the question. For those who have decided to implement AMP (Wordpress users, I'm looking at you!), have you noticed a difference since doing so? For those of you who have chosen not to, what are your reasons? | |
Re: It depends who you’re targeting (niche audience, geo, etc) and what keywords you’re targeting. I use organic and PPC to target completely different audiences. | |
Re: Pandatech, what are you using right now? I see some third-party Google ads injected in there but it doesn' tlook like AdSense. Also, I see you're using Cloudflare. I'm new to Cloudflare but love it so far. What do you think of RocketLauncher? | |
Re: It looks like the code was taken from [here](https://www.programiz.com/python-programming/examples/calculator) but it also appears in lots of other places such as [here](https://www.chegg.com/homework-help/questions-and-answers/program-make-simple-calculator-function-adds-two-numbers-def-add-x-y-return-x-y-function-s-q74297767) or [here](https://www.appservgrid.com/psam/Python_Samplifier--python1compute--Python_Program_to_Make_a_Simple_Calculator.html). Please always give credit where credit is due when copying/pasting someone else's code. Otherwise, it's code theft. While we have a community rule against copying/pasting from elsewhere … | |
Re: Hi Mark! Welcome to DaniWeb. What types of digital marketing do you focus on? | |
Re: Please explain what type of script you’re referring to? | |
Re: I would stick to stock image databases such as shutterstock.com or Adobe Stock Photos. Unfortuantely, I couldn't even begin to tell you what their collection of car images is like. If nothing like this exists, something you may wish to do once you've built your own database of royalty free … | |
Re: What is the model? Eg https://www.cyberpowerpc.com/ | |
Re: Just click the little code icon in the editor toolbar and copy/paste your code from your IDE along with explaining where you’re stuck and any compiler errors. | |
Re: It's a good strategy to use `var_dup()` to spit out the output of a variable, to make sure you're on the right track. Right after line 14, `$result = mysqli_query($MyConn, $query);`, then do `var_dump($result);` to make sure that you're actually correctly querying the database and getting a resultset. What does … | |
Re: I see that you posted your entire CSS file here, but it's impossible to understand what's going on without the HTML that actually utilizes it. For example, I'm not seeing which CSS rules you're using for your buttons (e.g. what are the classes/IDs of the buttons you want to make … | |
Re: You can get the current Unix time here: https://en.cppreference.com/w/cpp/chrono/c/time That should give you the number of seconds since 1-1-1970. Just take the number at the beginning of the code, take the number at the end of the code, and the difference is how many seconds your script took to run. | |
Re: Can you please post the code you have so far and where you are stuck or confused? | |
Re: Are you doing `$header .=` or `$headers .=`? Try adding right after the Content-Type line on line 36 of the code. Also, instead of `\r\n` use `$eol`. | |
Re: I have 25 years of SEO experience when it comes to online publishing. Very little eCommerce or local SEO experience. | |
I am trying to get the hang of Google Analytics 4. One of the conversions that we track is sign ups. I'm seeing a lot of conversions attributed to the Organic Social group. However, a lot of these conversions are people who found the site some other way (e.g. organic … | |
Re: Reddit, Facebook, and Twitter? Sorry, you're going to have to be a bit more specific. What are you hoping to accomplish? | |
I just racked my brain for the past hour trying to fix a bug, and learned something new in the process. I always thought that the jQuery function `.data('key')` was a wrapper for `.attr('data-key')`. It turns out that's not the case! Take the example: `<div data-key="foo">`: I can use `data('key', … | |
Re: It's obviously getting it from somewhere :) Please show us your full PHP file so we can see if we can diagnose it. Are there any `include()` or `require()` statements? Another thought is, is it in any Javascript files that are being used? | |
Re: Yes, and this was a mistake that I made many years ago with DaniWeb. The problem is that Google has a limited amount of crawl budget to crawl and index all the pages of your site. In our case, we were using up almost Google's entire crawl budget crawling thousands … | |
Re: You say you’ve attached the file but I’m not seeing a post attachment? | |
Re: Yes, it's true that you can create a disavow file if there are certain backlinks to your domain that exist on other sites (whether through no fault of your own, or through your use of a black hat SEO company). What about this, though? Do you have a specific question? … | |
Re: Hi and welcome to DaniWeb!! The problem that you are likely to encounter is that anti-spam functionality has become very sophisticated nowadays, and one of the things that it specifically singles out is when there is a one-off blast to thousands of recipients. For example, here on DaniWeb, we have … | |
The End.