Posts
 
Reputation
Joined
Last Seen
Ranked #79
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
93% Quality Score
Upvotes Received
307
Posts with Upvotes
218
Upvoting Members
109
Downvotes Received
17
Posts with Downvotes
10
Downvoting Members
13
75 Commented Posts
~553.50K People Reached
About Me

When I was kid my father bought me an Amstrad 6128 (after playing a little I desided it to brake down a program to see what is inside it and re fix it – same logic I did with toy cars or anything that had the unfortunate lack to be in my hands), that…

Favorite Tags
Member Avatar for Dani

As the question states, is there a reliable way of detecting AI content? I vaguely recall OpenAI announcing something a long time ago that they were going to release something that says whether content was generated via ChatGPT, or am I misremembering?

Member Avatar for fixwhatsapp
0
81
Member Avatar for verrandhack

So im working on functions for the first time in vscode using c++. i'm want to declare functions and having trouble understanding some things. i'm very new to programming so i still don't understand commands like str, file, value, void, readName, and so forth but i know i need to …

Member Avatar for learnerya
1
57
Member Avatar for Dani

I, very hackily, create an object of type stdClass as so: $arr = array( 'foo' => 'bar', 'baz' => 'bat' ); $obj = json_decode(json_encode($arr)); How can I now quickly add a third property to $obj without PHP getting angry?

Member Avatar for Dani
1
28
Member Avatar for jkon

I am curious how other programmers that I have no interaction with in this subject , are using LLM AI tools in their daily programming workflow. Although I use them I have an issue recommending them to others in my company because I believe you have to have a certain …

Member Avatar for rproffitt
2
27
Member Avatar for Mindmade
Member Avatar for Dani

Does anyone have anecdotal evidence for or against Google following internal nofollow links? (Irrespective of what they claim)

Member Avatar for EdwardMatthew
2
84
Member Avatar for techtheclone

Trying to call imagemagick using this code. The errors are with the appcontroller, myadoptscontroller, and index. I have been talking to someone who also uses the Mysidia Adoptables code and they provided me their code to edit, I edited their code but it is throwing these errors and I’m not …

Member Avatar for jkon
0
50
Member Avatar for jkon

Mouse Elbow or Lateral Epicondylitis, a big elephant in the room. Anyone else ? My first computers didn't had any mouse so this wasn't an issue. Since the early 90's I worked in various settings at the same era , some times sitting some times on the floor some times …

Member Avatar for jkon
0
30
Member Avatar for Adolfo_1

Hi, it is possible change this URL with .htaccess? **From** https://www.example.it/news.php?slug=aaaa-bbb-ccccc **To** ( seo-friendly without ‘news’ ): https://www.example.it/ aaaa-bbb-ccccc

Member Avatar for jkon
0
155
Member Avatar for Dani

The new robots.txt tester that is now built into Google Search Console is finding errors with the last two rows of my robots.txt file: Sitemap: https://www.daniweb.com/latest-sitemap.xml Sitemap: https://www.daniweb.com/sitemap.xml The error is: *Invalid sitemap URL detected; syntax not understood* Any idea what could be wrong here?

Member Avatar for Dani
1
247
Member Avatar for facarroll

I have a script that delivers an empty gif file when an attempt is made to download an image ("Save image as..."). Here is a link to my page. Try to save either of the first two images from the screen (not screenshots). I have been told that this is …

Member Avatar for Dani
1
241
Member Avatar for jkon

Hello , I always had a distant relationship with C++ (writing in it small programs (or libs for other languages) only when performance really matters) but I have found myself writing more and more C++ bots. I learned that you need to separate the definition of the class (interface in …

Member Avatar for jkon
1
105
Member Avatar for Dani

The Google Analytics javascript tag we use in our HTML <head> is: <script async src="https://www.googletagmanager.com/gtag/js?id=G-3BQYMGHE7E"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3BQYMGHE7E'); </script> Then, there are a handful of `gtag()` calls elsewhere on the page. I'm confused by how async works in this context. …

Member Avatar for Dani
1
119
Member Avatar for Duki

Well I just started eating dinner and thought this would be a neat topic. Everyone knows we love to eat while on the computer; two birds, one chair. I'll start it off: Deli Sandwiches, macaroni salad, potato salad and a Pepsi :)

Member Avatar for Reverend Jim
22
17K
Member Avatar for Olive34

I have been tasked at work, well actually I volunteered to create an MVC site (as a demo) that will eventually be the base for moving my employer's legacy C#/asp.net code to MVC. It's a large site, used globally, and we are a small team of 5 devs. Right now …

Member Avatar for jkon
0
85
Member Avatar for rproffitt

https://thehill.com/policy/technology/4162573-ai-art-cant-earn-copyright-judge-rules/ give us a preview that those that use AI, ML, GPT and such may be on uncertain ground if they want to copyright the code. You may not be aware that most of the online AI/ML/GPT systems keep copies of what you generate. So if you are creating code …

Member Avatar for Reverend Jim
3
253
Member Avatar for FarrisFahad

Hi, I am using JS in my website to load more content. I have buttons or input type button as my load more content. I am worried that Google won't index the content behind the load more button because it's a button and not an anchor tag. Here is what …

Member Avatar for Dani
1
120
Member Avatar for NAFISUL

Hi, I am a non computing graduate. Have basic HTML knowledge gather using freecodecamp. I am transitting from marketing industry to IT (programming) industry. I have enrolled in a masters in UK which will start in just one month. But I am not sure If i will be able to …

Member Avatar for jkon
0
123
Member Avatar for Mindmade

What are the best practices to make content for two different websites for a same shop? I mean the two different domains are in two different languages but they both are comes under the same business.

Member Avatar for jkon
-2
19
Member Avatar for Dani

Everyone knows that PHP has such a bad rap for so much bad code being out there. I am a firm believer it is not a problem with PHP, itself, but rather the incredibly low barrier to entry (open source, readily available with nearly all web hosting packages, etc.) coupled …

Member Avatar for jkon
0
173
Member Avatar for jkon

I just came in and had a topic to discuss with other programmers ... I remembered DaniWeb because in the past I have received very clever answers in questions that most don't know that exist at all. And I hope I also helped others as well. But how difficult could …

Member Avatar for Dani
1
71
Member Avatar for jkon

I wanted to post something in Daniweb for a while but I didn't had anything new. Recently I decided to write a new implementation for websocket connections client side using Shared Web Workers. Shared Web Workers are supported today by most browsers for desktop but few for mobile devices , …

Member Avatar for jkon
2
447
Member Avatar for LastMitch

Hi I watch a few movies the past weekend, just to relaxed and not think about work. I saw a few movies. I saw: **The Raid Redemption** - The best action movie this year! It's a **Indonesian** action film. The director is **Welsh** but he speaks **Indonesian** and **English** and …

Member Avatar for LoanHensley
6
6K
Member Avatar for ronjacob012

I want to create a webpage which will automatically send an email before 2 days. <form action="try.php" method="post"> <p>Date From : <input type="date" name="date1" /></p> <p>Date To: <input type="date" name="date2" /></p> <input type="submit" name="submit" value="Submit" /> </form> <?php // echo("First name: " . $_POST['firstname'] . "<br />\n"); echo("Last name: " …

Member Avatar for monika_12
0
14K
Member Avatar for Reverend Jim

I think I finally understand why Trump is doing so well (he recently pulled even with Hillary Clinton). It's only after years of shows like American Idol and America's Got Talent that his rise is possible. These shows got Americans used to the idea that they could vote with no …

Member Avatar for rproffitt
1
22K
Member Avatar for Aeonix

$stmt = $dbconn->prepare("SELECT * FROM `members` WHERE username=? AND password=?"); $stmt->bind_param("ss", $username, $password); Is what I have. Database is connected etc. How can I set variable called `$dbresult` with array of SQL result? I don't want to set individual variables. I really need an entire array as answer. There's couple …

Member Avatar for jkon
0
3K
Member Avatar for anish.anick

Hi All, How can i set the session time out in PHP if the user stays inactive for a certain time in a web page.Please help me to solve this.. Thanks

Member Avatar for syaifulrijzal10
0
18K
Member Avatar for pandglobal

I have a html form and a validation php file for the form, every thing works when a user submits the form, but there are certain aspect of the function that i want the user to get in real time, such as if field A value is (yam) then unset …

Member Avatar for jkon
0
252
Member Avatar for Dani

Do you still use reCAPTCHA or something homemade? For us, we use jQuery to inject a hidden form field upon form submission that sends a little time sensitive and cookie sensitive string that we validate on the server side. I’m always curious to know what everyone else is doing.

Member Avatar for jkon
2
326
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
883