11,530 Posted Topics

Member Avatar for Jin En

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 …

Member Avatar for Dani
0
112
Member Avatar for Naveed_786

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 …

Member Avatar for rproffitt
0
114
Member Avatar for Jin En

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++ …

Member Avatar for rproffitt
0
126
Member Avatar for Dani
Member Avatar for Dani
1
280
Member Avatar for janice_1

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 …

Member Avatar for Dani
0
256
Member Avatar for DeForseti

Hi there and welcome to DaniWeb! I was also a student passionate about a internet marketing when I started DaniWeb. Nice to meet you.

Member Avatar for Dani
0
29
Member Avatar for davidma

Sorry, I have no clue what you're referring to. Is this some illegal pirated version of Windows you downloaded from somewhere?

Member Avatar for ponderoso51
0
92
Member Avatar for beniwalsanjeev

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 …

Member Avatar for Dani
0
295
Member Avatar for Yogesh_22
Member Avatar for Dean klains
Member Avatar for sonalid1701

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.

Member Avatar for Dani
0
40
Member Avatar for Gabriel9999

`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.

Member Avatar for Dani
0
103
Member Avatar for davidma
Member Avatar for Dani

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 …

Member Avatar for Dani
2
850
Member Avatar for Yuanpeng
Member Avatar for DaveyMoyes
Member Avatar for Dani
0
2K
Member Avatar for Turkish_1

I see you tagged this topic bootstrap but it doesn't look like a Bootstrap site at all. Did you really use Bootstrap?!

Member Avatar for Dani
0
196
Member Avatar for ashathehope

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 …

Member Avatar for Dani
0
130
Member Avatar for crolic

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 …

Member Avatar for Turkish_1
0
410
Member Avatar for Zinavo

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>

Member Avatar for Dani
0
8K
Member Avatar for Dani

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.

1
73
Member Avatar for Khalid_18
Member Avatar for Dani
0
19
Member Avatar for Ardi Daullja

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.

Member Avatar for Dani
0
34
Member Avatar for Bachu

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 …

Member Avatar for Dani
0
369
Member Avatar for Dani

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`

0
78
Member Avatar for lauter

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 …

Member Avatar for Lucas_18
0
30
Member Avatar for YashaaGlobal

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.

Member Avatar for Dani
0
23
Member Avatar for eleanorbat

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.

Member Avatar for Dani
0
27
Member Avatar for Dani

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, …

Member Avatar for Dani
0
420
Member Avatar for davy_yg

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 …

Member Avatar for Dani
1
905
Member Avatar for Gilbertsilva123

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.

Member Avatar for Gilbertsilva123
0
157
Member Avatar for Dani

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. …

Member Avatar for Dani
0
1K
Member Avatar for pritaeas

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 …

Member Avatar for pritaeas
0
326
Member Avatar for Dani

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.

Member Avatar for Dani
1
381
Member Avatar for SimonIoa
Member Avatar for Dani
0
533
Member Avatar for MrAmazing

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.

Member Avatar for Dani
1
426
Member Avatar for arjunsasidharan

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 …

Member Avatar for Dani
2
2K
Member Avatar for Mike_H

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; } /* …

Member Avatar for Dani
0
155
Member Avatar for kristamert
Member Avatar for Gabriel9999

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?

Member Avatar for samueltarcin999
0
139
Member Avatar for pritaeas
Member Avatar for Dani

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 …

Member Avatar for serverjedi
0
897
Member Avatar for Magic8Computing

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.

Member Avatar for Dani
0
459
Member Avatar for ThadHeck02

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 …

Member Avatar for Dani
0
60
Member Avatar for Matt_35
Member Avatar for Dani
1
166
Member Avatar for Gabriel9999

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 …

Member Avatar for samueltarcin999
0
213
Member Avatar for Reverend Jim

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 …

Member Avatar for rproffitt
0
510
Member Avatar for Dani
0
375
Member Avatar for Flashints
Member Avatar for BonniePoss

The End.