Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

My experience is that AT&T fiber for residential use does allow servers and does not block ports. I used to have Verizon FiOS which, also, did not block ports, but that was a business account and so under different rules. Spectrum and Optimum Online business accounts also didn’t block, but I paid an extra $10/month for a static IP back then as well.

It might be the router that is blocking. Most routers these days block port 80 by default. This might be the router built into your cable modem as well.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

You shouldn't really need anything more than a Quickbooks account.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Building backlinks is an important part of any SEO strategy, but Google has banned the buying/selling/trading of backlinks.

Back in the before-times, you could purchase backlinks and be very strategic about the keywords used in doing so and exactly how that link looked, since it was essentially a paid advertising campaign.

Nowadays, building backlinks is more about creating great content that entices people to want to link to it naturally. When that happens, you don’t have any control over how it’s linked to. For example, if someone links to an article from a Reddit post, the website publisher of the article isn’t around to whisper in the person’s ear what text to use in the Reddit post.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I’d never recommend storing sensitive information like passwords, private keys, or database credentials—even with .gitignore. Instead

Why not, though? Doesn't .gitignore just completely ignore the files to where they never touch Github's servers?

To me, that sounds much more secure than Github secrets, where sensitive information is stored on the Github servers.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I don't. All of the content on DaniWeb is user-generated, so I have very little control over the words that appear on each page. Years and years and years ago, back when backlinks weren't banned by Google, I used to be a little intentional when it came to keywords in anchor text, but we're talking over 2 decades ago.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Because Google doesn’t think your website has enough to offer, has a strong enough brand name, is not spammy, etc.

Create high quality, non-AI generated content, and build backlinks pointing to your site.

Also, if you have not already done so, create a Google Search Console account.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I've always just rolled my own script that sent out emails, scrubbed bounces, etc. because it is just way too cost prohibitive for us to send out mass emails through an ESP.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

While that's all true, I can't help but wonder if this is AI-generated content? Whether or not it is, you pretty much nailed it, so I'm not quite sure if you have a question or not that you're asking, or just trying to get a discussion started.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I tried the paid version of Ahrefs for a time, and, at least for my use case, it wasn't worth the money and I downgraded back to the free version. I've never used Semrush.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I don’t personally know Android development or mobile development at all. However, others here might. Please start a new question by clicking here.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

In other words, if you just need days or hours you can do something like $diff->d or $diff->h (All properties available here, but if you want to calculate a runner's start time and end time and then do something like "You ran the race in 08:33:56!" then you could use the format() method to make it easier.

Hope this all makes sense, and glad you got it working. (Also, just to confirm, you now have two datetime-local input boxes and no more date picker on its own, right?

Erussuhsh commented: Hi can you help me Dani +0
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Also just one more question regarding your code, I will have to minus 1 hour from the total hour difference, do I have to use the %h - 1?

Just in case you haven't figured this out yet, the answer is no :)

In my code above, see where I am showing you what $diff looks like on line 15? You should be able to do something like this:

$hours = $diff->h;
$total_hours = $diff->h - 1;
echo "Total hours: $total_hours";

Alternatively, this should also work:

$total_hours = $diff->format('%h') - 1;

This is all untested code. :)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Giving you some reputation so you won’t get flagged by the spam bot anymore

Oops! I tried, but I’m in bed feeling unwell today (one of my bad days, I’m afraid) and didn’t realize this was posted in the off-topic lounge, which doesn’t award reputation.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Oh goodness, I’m sorry! I made a typo. Remove the new keyword. I’ve edited my post above.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Not too long ago, I ditched a suuuuuper expensive ~10 year old Dell Precision workstation with like 64 cores or something crazy, multiple video cards, dedicated RAID controller, etc. for a much less expensive M1 Max Macbook Pro. The macbook outperformed the Dell for everything I did by far.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

If I can assume you attended university right out of high school (or at least the US equivalent), then that would put you at pretty much my age. Nice :)

Please switch to macOS. It's sooo much more refined, and I would say much more than BSD "with a fancy window manager" these days. Although I haven't used Linux for my personal PC in just over 20 years.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Do you have a question?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I am confused when you say the HTML time picker input box can be set to 20:00 for time in and 5:00 for time out, because <input type="time" ...> only allows the end-user to specify a time, not a time and date combination. Should it always be assumed that if the time out is earlier than the time in, that it is the next day? Otherwise, if the time out is later than the time in, should it always be assumed that it is the same day?

Perhaps what you mean to say is that you are using <input type="datetime-local"> which makes a lot more sense, because then the end-user specifies both a date and time together.

Let's assume that the datetime-local control is used and both a start and an end are submitted via an HTTP POST form.

We can now do something such as this:

// Get start and end date/time combos from HTTP form
$start = $_POST['start'];
$end = $_POST['end'];

// Create DateTime objects in PHP for us to work with
$start_object = date_create($start);
$end_object = date_create($end);

// Get the difference represented as a PHP object
$diff = date_diff($start, $end);

// $diff is now a PHP object of how many years, months, days, hours, seconds

// See for ourselves what $diff looks like
var_dump($diff);

// Specify a string that says how to format the time interval
$format = '%d days, %h hours, %i minutes';

// Format the difference in a way we want
echo 'The time difference …
Erussuhsh commented: Hi can you help me Dani +0
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I hope learn more about you.

This is me: https://www.daniweb.com/welcome/about

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

What does the crypto class look like?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

A bit off topic, but as a developer of one, DaniWeb started on SVN and eventually moved to Git when redoing the platform from scratch about a decade ago. I also really like being in GitHub, despite it being a private repository so I’m not taking advantage of the network effect.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Mastodon is pretty much the only social network I'm on these days

Do you consider forums as social networks? What’s the difference?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

You might want to check out Upwork or Toptal to get freelance development work.

May I ask what the code you provided here does? It seems to just be a constructor function with some getters and setters, but is missing the rest of it. Was it written by ChatGPT?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Congrats on the latest release of your software. May I ask what inspired the decision to host the project on Sourceforge instead of GitHub? I rarely see well-maintained projects on sourceforge these days, sadly.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Why don’t you tell us since you’re a Sharepoint compliance manager according to your profile?

Salem commented: LOL +16
rproffitt commented: Yup. +17
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I feel like the solution might be in that blog

It's not. The blog article whose link was snipped has nothing to do with API authorization errors.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

OK, I'm a little confused. You're an SEO guy who linked to a blog article about 401 errors on an SEO firm's website. The link to that article was snipped from your post for being self-promotional in nature. (I assumed you were just trying to get the backlink.) However, you're saying the 401 error is from using the Auth0 API. Can you post your code that connects to the API please? (And why, as an SEO guy, are you writing API calls?)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

If you have the enterprise plan you should have an emergency phone option under support. Cloudflare also has a 24/7 Emergency Hotline at +1 (866)-325-4810. There's a Live Chat option for Business. Call their sales number and get some answers. +1 (888) 99 FLARE

A disputed charge back on a C/C always gets their attention, and billing would probably call you. I wouldn't play their game.

I don't have an enterprise plan. When I called their number last week, I got routed to the billing dept, which is just a robot saying to leave a support ticket online.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Status update: There was an update to my ticket saying that there is higher than normal demand for support and to keep holding. At least it's a response?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hello! Sorry I’m late to welcoming you. :) What have been your impressions of DaniWeb so far?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Oh, it looks as if you're referring to auth0, as I see you've also posted over there. It says you've attached a diagram of the request flow but I'm not seeing it.

Marcus_8 commented: https://www.daniweb.com/programming/web-development/threads/543379/why-am-i-getting-a-401-unauthorized-error-when-calling-the-management-api +0
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

What management API?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

A blast from the past? Didn't Mastodon first gain popularity around 2020ish? When I think of a blast from the past, I think of AOL Instant Messenger and MySpace.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

It's the back-link on a public facing web page that they want, and for that there's no difference between a forum post and a profile page.

From an actual SEO perspective, there's a very strong difference between a forum post and a profile page (not all pages are created equal), but for the purposes of this discussion, I digress.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Profile spam for sweet sweet SEO internet points. Create an account, put a link in the profile, but never post anything thus reducing the likelihood of triggering the spam alarms and getting deleted down by the site moderators.

It's the back-link on a public facing web page that they want, and for that there's no difference between a forum post and a profile page.

Very true. However, new members have their profiles at /profiles/ which is blocked via robots.txt, so crawlers never even go there. (In fact, we block known crawlers such as Googlebot with an HTTP 403 error, just in case any decide to go rogue and sneak around.) Once you earn 15+ reputation points, your profile gets moved to the /members/ folder. Too bad spammers waste their time.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Locking this topic because it's turned into a bit of a spam fest. Lots of deleted posts that didn't meet our quality guidelines.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

We make heavy use of PHP's Memcached::getDelayedByKey which requests multiple items all from a specific server (hashed on the server key, which is the Topic ID #). That ensures that when you pull up a topic, we can retrieve all items for that topic in one request, all from one server.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Why do spammers want to sign up? What do they gain from programming forums?

A very common, and dare I say well-respected, SEO technique (that is actually vouched for by Google!) is to post in forums to earn backlinks back to your site. The legitimate way of doing it is to find forums and communities relevant to your site, and personally participate as an expert in your field. This helps you build your reputation as an industry leader and immerses your persona into communities relevant to your site's area of expertise. Google then recommends using a combination of signature links as well as injecting links within your posts, where appropriate, as long as the link is relevant to the discussion and and in good taste. Again, this technique is taught by and fully endorsed by Google. I can't find the specific article right now in Google Search Central, but I'll update this thread if I happen to come across it.

The problem, of course, is that everyone is out looking for a shortcut. This is especially true when SEO firms outsource link builders overseas who don't know better than to employ watered down versions of Google-recommended techniques. You now have some random person in India hired by an SEO firm who is tasked to build forum backlinks for a site about <insert highly technical subject>. They're instructed to post in forums with links pointing back to the client. It's not their fault.

DaniWeb fits a very specific intersection …

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi Tim! Welcome to DaniWeb. Thank you so much for taking the time to join us over here.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hello there and welcome to DaniWeb! Thank you so much for taking the time to join here.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Your data wouldn't be accurate and incomplete, if either one of the performance schemas were off.

Do you mean !(accurate && incomplete) or do you mean !accurate && incomplete?

But I gotcha. Thank you for the explanation.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Example of Dad joke:

How do you think the unthinkable?

With an ithberg.

Boooo.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi Ron and welcome to DaniWeb! Thanks for taking the time to sign up and join us in our little corner of the web. Something tells me that @Reverend Jim and @rproffitt will be along any moment to greet you as well ... ;)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

checking if MBAMService.exe is abnormal in Task Manager

What does that mean?? Abnormal in what way?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

That tool only covers a very tiny subset of jQuery functionality, so wouldn't be useful since my intent is to be able to ditch the library. I guess I'll just be here waiting for jQuery 4!

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

We used to use Sharepoint way back in the day when DaniWeb had one of those Microsoft subscriptions that gave you access to all license keys. I forget what it used to be called but they don't have it anymore and haven't for many years, as far as I know.

Edit: ChatGPT reminded me that it was called a TechNet Subscription.

rproffitt commented: "Those were the days my friend. We thought it would never end." +17
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

A little more information: I had a variable called $uri that I assumed was a URI, and so decided to be smart and add a sanitization wrapper around it to ensure it was a valid URI. It turned out that the variable was not meant to store a fully-formed URI but actually only part of one, and therefore always failed the check.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

It should be fixed now. Unfortunately it's been broken for quite awhile and I didn't realize it. It broke on the 5th of the month when I went through all the code and mass-added a wrapper that ran some sanitization stuff. So sorry about that! Either way, it's fixed now.

John_165 commented: thanks you +0
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Thanks for the heads up! I’m able to reproduce it and I’ll look into it shortly. I’m currently still in bed.