11,530 Posted Topics
Re: I think that the OP is saying they were presented with this code, either by their professor or they found it online, and they’re having a hard time following it. They want to learn so they’re asking can someone walk them through this code step by step. I guess by … | |
Re: Unfortunately this is out of my wheelhouse, but I came across this thread, and just wanted to wish you the best of luck. Where I live, all computer repair shops are currently closed, and it's my worst nightmare right now that my computer should be unbootable. I wonder if there's … | |
Re: This seems like a homework problem. What have you done so far? What have you tried? What have you learned in class that could relate to this? Where are you stuck? Do you have any code so far? It’s currently seeming as if you are tasked write this complicated c++ … | |
Should I be noindexing or fully blocking search result pages from my robots.txt? | |
Re: As rproffitt points out, it's possible that $birthdate is in an incorrect format and you think you're retrieving a year, but you're really not. For example, if my $birthdate was set to `11-11-82` then it will retrieve 11-82 instead of 1982. You should make sure that $birthdate is in an … | |
Re: Hi there and welcome to DaniWeb! I was also a student passionate about a internet marketing when I started DaniWeb. Nice to meet you. | |
Re: Sorry, I have no clue what you're referring to. Is this some illegal pirated version of Windows you downloaded from somewhere? | |
Re: It seems to me you want to replace return redirect('/'); with return back(); but without seeing the full library, I don’t know if you have to add with('success') or something like that the way that it’s done if login fails. Sorry for my brief post but I’m typing from my … | |
Re: Hi there and welcome to DaniWeb!! I have 20 years of exprience in digital marketing, as well as being a web developer, so feel free to ask any questions and I'll do my best to answer. | |
Re: `shutdown -P +3` should work. -P means power off. You can alternatively use -r to reboot. You can use +3 to shutdown in 3 minutes, or "now" to happen right now. | |
We had a bug a little while back where we were accessing an old database for the GeoIP API. That meant that, for users whose geolocation were mapped from their IP address, it was incorrect/unknown for IP subnets not in the database. Now, 1-2 years later, can we go back … | |
Re: What editor do you use? I never had an issue with whitespace when I was using Apache. | |
Re: I see you tagged this topic bootstrap but it doesn't look like a Bootstrap site at all. Did you really use Bootstrap?! | |
Re: Add fresh content. Build backlinks. Freshen up your site navigation. I think making sure your pages interlink well and you have efficient navigation is low hanging fruit most people don’t think of. Also, make sure all your pages have a unique title and meta description, and you aren’t noindexing pages … | |
Re: To rproffitt's point, are you interested in being a web designer or a web developer? (Although I think he may be a little incorrect in terms of the function of a web designer in 2019 / 2020). Designers focus on the aesthetics of the website. They plan out the user … | |
Re: Turish, you're referring to yet a third thing, HTTP headers. I think they were comparing head vs header HTML tags: <html> <head> </head> <body> <header> </header> </body> </html> | |
Ever wonder what DaniWeb was like way back in the day? Well now you don't have to guess. Forums and tags have a new filter in the dropdown to list all Archived topics. | |
Re: Hi and welcome to DaniWeb. What type of online work do you do? | |
Re: Every server is configured differently. However, you typically can do https://IP_address/... to browse a site provided you’re using the server’s external IP address. | |
Re: I have no WordPress experience at all so take what I say with a grain of salt, but is it possible that WordPress is doing this on purpose? In other words, they know what URL you are meaning to go to, so they’re sending you to it? What I would … | |
How do you handle your link discoverability when also using infinite scroll. As we know, Google has been ignoring link rel=prev/next for years. A lot of my older content is showing up with no internal links. I do have HTML page navigation but it’s hidden with `display:none` | |
Re: Hi there and welcome to DaniWeb. I will do my best to answer any questions you may have, as I have a 20 year career in the digital marketing space. However, I regret that I never had much luck with affiliate marketing, despite being very into it for a short … | |
Re: Absolutely hand-coded over WYSIWYG, no question. However, I would make sure to be using a framework and Sass (or some other type of precompiled CSS). Basically whatever it takes to reduce the amount of unnecessary HTML and extra CSS for optimal performance. | |
Re: Hi, Sorry for the confusion. You can do so from your Control Panel: https://www.daniweb.com/connect/profile To get to your Control Panel, click your avatar icon in the top right corner, and then click Control Panel. At the bottom of the page there's a button to Update Location. | |
Is there an advantage to submitting my AMP pages to my Google sitemap? I am using `<link rel="amphtml" ...` but I was wondering if submitting them lead to faster discovery? My AMP pages are starting to show up in Google Search Console Coverage for "Indexed, not submitted in sitemap" However, … | |
Re: I know I'm late to the party here, but I'm going to reply now in hopes that imtylerbanks gets an email notification that this thread has been updated. I've been following AMP closely over the years, and I never felt the need to implement it. I finally did this past … | |
Re: Sorry, I can't help, because unfortunately I have no python experience. But I've tagged this thread pygame so hopefully it will get more eyeballs and someone will be able to help. | |
My code has a query that looks like: INSERT INTO table VALUES (...) ON DUPLICATE KEY UPDATE id = LAST_INSERT_ID(id), ... id is a PRIMARY KEY. My question is that I can't for anything remember why I have id = LAST_INSERT_ID(id). I wrote it years ago and it's not commented. … | |
Re: This is by design. It’s all one single Contribute form that was broken up into a wizard to make it easier for newer members to digest it little by little. However, we don’t actually touch the server until that final submit button is pressed. It was hard enough work to … | |
I started using Cloudflare yesterday, and I must say, I'm incredibly impressed with them. They have a pretty well-rounded featureset that goes above and beyond just being a static CDN. | |
Re: Semantics!! It's an HTML5 video element. The element is represented by an HTML tag. | |
Re: There’s a snippet of Javascript you can put on your site to show how many Facebook likes it got, how many Tweets, etc. I’m on my cell now not near my computer but I’ll find specific code for you a bit later. | |
Re: I’m finding a lot of articles on the web on how to edit your registry to recover an accidentally deleted recycle bin. However, I unfortunately can’t find anything on how to recover a folder converted to a recycle bin. Did you make note of your registry settings before making the … | |
Re: Sorry for my late response. I don't have a whole lot of experience with flex boxes, but I found this code here: https://www.w3schools.com/css/tryit.asp?filename=trycss_mediaqueries_flex <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> * { box-sizing: border-box; } /* Container for flexboxes */ .row { display: flex; flex-wrap: wrap; } /* … | |
Re: You can use scp to copy the script from your local sysem to the remote system. scp file.txt username@10.10.1.1:/path/to/put/file Would that help you? | |
Re: That’s weird. I’ll fix this in just a bit. Thanks for the catch. | |
I'm using the following code to verify that an email address has a valid DNS (otherwise, we consider the email invalid). $domain = substr($email, strrpos($email, '@') + 1); $isValid = checkdnsrr($domain, 'MX') || checkdnsrr($domain, 'A'); However, today it just flagged nearly all @gmail.com and @yahoo.com emails as invalid. Obviously the … | |
Re: What does the data in your database look like? Line 20 of your code is retrieving all the data within the row(s) of the Calendar_Data table for today's date. | |
Re: Having a strong domain authority means that you have a lot of relevant backlinks and mentions from sites that, themselves, have a strong domain authority. The benefit is that you will have more crawl budget, which means Google will crawl your site deeper and index more pages. It's also believed … | |
Re: How do you know COVID-19 is the reason for the denial? What does the rejection letter say? | |
Re: I'm not sure what you mean by match a word. Do you mean tell if the word exists in the text file? How big is the text file? Do you want to load it all into memory and then search it a bunch of times, or do you want to … | |
Re: Why is that article great?? That is probably one of the worst articles about modern user interfaces that I've come across. 1. They give me a reason not to trust them when it's hosted on a severely outdated website with poor usability. The logo is not clickable to return to … | |
How did you fare in this week’s core update? Losses for us. | |
| |
The End.