11,530 Posted Topics
Re: Why is it funny? What am I missing? | |
Re: While the mysql_* functions were procedural, MySQLi supports either procedural or object oriented methods. Since you're already using procedural style, the simplest thing to do would be to replace the functions with their MySQLi counterparts. I think you should just be able to replace: * `mysql_connect` with `mysqli_connect` (https://www.php.net/manual/en/function.mysqli-connect.php) * … | |
I'm trying to save DaniWeb. :) What are the biggest pain points you have with DaniWeb? If you don't visit DaniWeb as much as you used to, what changed? Where do you go now instead of DaniWeb? What makes other resources better? | |
| |
Re: Hey Buggy! Nice to virtually meet you. Do we know each other in person? From what I'm hearing, you're interests mostly lie with networking, cybersecurity, and systems admin type stuff. That's defintely a great field, but I think that you're going to get farther with RHCE, etc. certifications than you … | |
Re: Please, help us to help you. We are here to help, but saying "need javascript" with a blurb that's a mix of HTML and PHP, without even explaining what it does, why you posted it, what's not working, or what you're trying to do, makes it really hard for us … | |
Last week, we've had the most number of new member signups, excluding members who have been banned, for the first time in over a year! Good job, everybody :) | |
Re: I think, in this case, he is meaning to supply a working code snippet for people to use if they have a text box in which they don’t want the space bar or escape key to work. I think his snippet description had a language barrier. | |
Re: Your CSS is all inline. Move this out to an external file. Also, switch to HTML 5 from XHTML, which is largely deprecated nowadays. | |
Re: I think you're overcomplicating this. Something like: RewriteRule ^admin/([a-z]+)/$ admin/$1.php [L] RewriteRule ^([a-z]+)/$ $1.php [L] | |
Re: Well I can see you're calling audio.play() when an element with the equalizer class is clicked on. If you want to create other events, I'm confused where your confusion is? That being said ... just, PLEASE DON'T automatically play sounds from your web browser. It's an absolutely horrendous user experience. | |
Re: Without reading your code (because it's a lot to process), file uploads are not possible through AJAX alone. Apparently, browsers believe there is a security vulnerability of some type and prohibit it from working. In the past, we used a workaround with iframes to mimic AJAX file uploads. Today, we … | |
Re: Sorry, I'm not quite getting what it is you're trying to do. Are you trying to create a jQuery plugin? Per jQuery's official documentation: $.fn.greenify = function() { this.css( "color", "green" ); }; $( "a" ).greenify(); // Makes all the links green. More information at https://learn.jquery.com/plugins/basic-plugin-creation/ | |
Re: This seems to be a duplicate of [this thread.](https://www.daniweb.com/programming/web-development/threads/519255/php-webmail-pdf-attachment#post2249984) Either way, I still don't understand what you're asking. | |
Re: I'm not familiar with Joomla, but I suspect that the button has been dynamically generated by the Joomla app, and you need to be at least somewhat experienced in PHP in order to investigate this, unless it's easily found in one of their template files. | |
Re: It seems as if you're just asking us to do your homework for you, without even taking the time to explain to us what the assignment is. I get that you want help converting an algorithm to C++, but you're not doing a clear job expressing what the algorithm is, … | |
Re: I'm having a hard time understanding your code. You seem to have nested <html> tags, which is not valid HTML markup. You close one HTML tag on line 82 but then you have a <div> on line 84, so I'm confused what you're trying to achieve or what you want … | |
Re: Sorry, I'm not understanding what you're asking. | |
Re: What error message are you getting? What isn't working as intended? | |
Re: HI there Rodney! Welcome to DaniWeb, and as I messaged you privately, congrats on pursuing your BA to start a second career. | |
We just recently (read, today) implemented SameSite cookies to prevent CSRF attacks. The thing is, while there's a decent amount of information online about the benefits of them, I can't find any other sites that implement them. Not even any of the big ones I would suspect were spearheading something … | |
Re: I've been having a tough last couple of weeks (personal things going on) so I haven't spent a lot of time around here, unfortunately. I heard from James that there was downtime due to one of the Redis servers running out of memory. He was able to bring it back … | |
Re: What is your algorithm? Maybe if you try to explain it to us we can be of better assistance? | |
Re: I've never used Woocommerce before so I probably can't assist much, but if you attach a screenshot of what the admin page looks like, maybe I could help figure something out? | |
Re: I only use MySQL, not MSSQL, but it looks like there is a STRING_SPLIT() function which lets you split a string by a specific delimeter. In this case, the delimeter would be `' > '`. Hope this helps. | |
Re: Hi, Unfortunately, unless I'm misunderstanding you, it's really hard to be able to help you without fully understanding what's behind your execute() and get_result() functions. The error is basically saying that $navigation is NULL and so you aren't able to call the fetch_assoc() method on it. $navigation is most likely … | |
Re: Sorry, I must have been hiding under a rock. I'm not familiar with Cambridge Analytica?? | |
Re: > They could put a better button to mark questions as solved. Thanks!! :) Is it confusing? | |
Re: Sorry, I'm not understanding your question, gebretsadik. What, specifically, are you looking to do? The SELECT queries that diafol provided just explain how you can look for dates within table columns that contain datestamps or timestamps. | |
Re: What I do is use a different subdomain for static images that uses Lighthttpd without any extensions. It's faster because it's so lightweight, it doesn't even have the ability to process PHP files in case someone uploads a malicous .php attachment and tries to execute it on the server, and … | |
Re: I rolled my own MySQL-based ORM for DaniWeb. Not every table, but most tables, have a corresponding class, where methods invoke changes in the database. When it makes sense, we use the ORM to make changes. Other times, the class methods invoke SQL statements directly when it's more efficient to … | |
It is with deep regret that I inform everyone that it just very recently came to my attention that the DaniWeb database was breached in December 2015. Over a million user profiles, including email addresses and IP addresses, were stolen. Logins and passwords were protected through an additional security layer … | |
Re: You can write to an in-memory table or to a cache (such as memcached or redis) with rolling activity logs, and then do batch jobs to update multiple rows in the database at once. | |
Re: I'm not sure what happened, but it looks like there are pretty much no topics flagged with c# anymore. Was the tag deleted?! | |
Re: Here is more information about the DaniWeb database breach: https://www.daniweb.com/community-center/daniweb-community-feedback/threads/506998/daniweb-database-breach It happened in December 2015. | |
Re: There are some WordPress plugins for caching and SEO that should help. It might also be your hosting provider causing slowness. | |
Re: I’ll respond to this thread more in the future, but for the time being, I just want to point out you can click the little speech bubble next to tour avatar from the top of any page. You don’t have to go to the homepage. Also, the reason it’s “excessively … | |
Re: Hi there! Welcome to DaniWeb! You’re definitely in the right place. :)thanks for joining. May I ask how you found out about us? | |
I know a lot of the regulars and moderators are unhappy with the content currently on the homepage. In actuality, the homepage is designed to be an overview of what DaniWeb has to offer for newbies, while catering to more active DaniWeb members by only showing articles that are in … | |
Re: 1. Yes 2. Yes 3. What could we do to keep DaniWeb relevant for you? | |
Re: I'm wondering if it might even be worth it to hire individuals with little to no SEO experience to do link building campaigns for you. Ya know, the tedious part of SEO ;) | |
Re: Are you asking what the recommended anchor text should be? I would say something that appears natural and not keyword stuffed. | |
As Google+ is being deprecated, I need to migrate my Oauth 2 off of Google+ and into the Google Sign-In authentication system. So far, I changed the list of scopes from `https://www.googleapis.com/auth/plus.login email` to `profile email`. However, I'm struggling trying to find in Google's docs what to change the endpoint … | |
Re: Entering your birthday is optional, and it's a hidden field, so I wouldn't feel comfortable saying who it was in public anyways. My guess would have been Ancient Dragon before he passed away. | |
Re: These are the goals of the user that complement your own goals. For example, if you have specified in your profile that you're looking to mentor people, and this person is looking for mentorship, then it will show up as a complementary goal. You can specify your goals on Page … | |
Re: I'm sorry, but I currently don't have access to a Windows machine right now. I've tested in Chrome, Safari and Firefox on OS X. Also, I don't have access to an Android phone either. Oh, the perils of a boyfriend who works for Apple! | |
What's the difference between LCASE() and LOWER() in MySQL? I found places on the web that said they're similar but not a synonym for each other, so I'm not sure what the differences are? | |
Re: http://openbookproject.net/thinkcs/python/english3e/app_c.html | |
Re: I use a Mac now, but I remember back in the day, Internet Explorer had a settings option to override any website's CSS with your own color scheme. There might be Chrome extensions or Firefox plugins that do this as well. | |
Re: Hi, Sorry for the confusion. Code snippets and editorial have the byline, including a complete About the Author bio, beneath the post, which is in line with what sites such as Sitepoint and Stack Overflow do. I've gone ahead and corrected the bug where deleted members have no byline at … |
The End.