11,530 Posted Topics

Member Avatar for Zill_1
Member Avatar for menssouri83

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) * …

Member Avatar for Dani
0
438
Member Avatar for Dani

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?

Member Avatar for happygeek
2
6K
Member Avatar for prudvi_1
Member Avatar for Dani
0
307
Member Avatar for Buggy_

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 …

Member Avatar for Dani
0
312
Member Avatar for jeslin_2k2

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 …

Member Avatar for Dani
-1
285
Member Avatar for Dani

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 :)

Member Avatar for Dani
9
4K
Member Avatar for Edwin_11

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.

Member Avatar for Dani
0
797
Member Avatar for naveen123

Your CSS is all inline. Move this out to an external file. Also, switch to HTML 5 from XHTML, which is largely deprecated nowadays.

Member Avatar for Dani
-2
460
Member Avatar for Danny159

I think you're overcomplicating this. Something like: RewriteRule ^admin/([a-z]+)/$ admin/$1.php [L] RewriteRule ^([a-z]+)/$ $1.php [L]

Member Avatar for Dani
0
272
Member Avatar for tun712

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.

Member Avatar for Dani
0
1K
Member Avatar for sashika_sur

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 …

Member Avatar for Dani
0
466
Member Avatar for tun712

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/

Member Avatar for Dani
0
472
Member Avatar for manu555

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.

Member Avatar for Dani
0
367
Member Avatar for str91

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.

Member Avatar for Dani
0
402
Member Avatar for sobaan30

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

Member Avatar for Dani
0
429
Member Avatar for divinity02

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 …

Member Avatar for Dani
0
659
Member Avatar for manu555
Member Avatar for divinity02
Member Avatar for divinity02
0
451
Member Avatar for Rodney_4

HI there Rodney! Welcome to DaniWeb, and as I messaged you privately, congrats on pursuing your BA to start a second career.

Member Avatar for Reverend Jim
2
3K
Member Avatar for Dani

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 …

1
3K
Member Avatar for Reverend Jim

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 …

Member Avatar for Dani
0
3K
Member Avatar for adambb

What is your algorithm? Maybe if you try to explain it to us we can be of better assistance?

Member Avatar for Dani
0
429
Member Avatar for useruno1

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?

Member Avatar for useruno1
0
3K
Member Avatar for Mike Bishop

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.

Member Avatar for rbjolly
0
393
Member Avatar for CSWinslow

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 …

Member Avatar for CSWinslow
0
3K
Member Avatar for happygeek
Member Avatar for happygeek
0
3K
Member Avatar for bprosic

> They could put a better button to mark questions as solved. Thanks!! :) Is it confusing?

Member Avatar for Dani
0
3K
Member Avatar for sagisgirl

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.

Member Avatar for Dani
0
8K
Member Avatar for FarrisFahad

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 …

Member Avatar for Dani
1
3K
Member Avatar for B_3

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 …

Member Avatar for Dani
1
2K
Member Avatar for Dani

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 …

Member Avatar for Alexander_17
3
4K
Member Avatar for FarrisFahad

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.

Member Avatar for Ray Paseur
0
3K
Member Avatar for ddanbe

I'm not sure what happened, but it looks like there are pretty much no topics flagged with c# anymore. Was the tag deleted?!

Member Avatar for Dani
0
2K
Member Avatar for midsbuilders

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.

Member Avatar for Dani
0
994
Member Avatar for johnkafy

There are some WordPress plugins for caching and SEO that should help. It might also be your hosting provider causing slowness.

Member Avatar for Halla_1
0
452
Member Avatar for Reverend Jim

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 …

Member Avatar for happygeek
1
9K
Member Avatar for TheEVOdev

Hi there! Welcome to DaniWeb! You’re definitely in the right place. :)thanks for joining. May I ask how you found out about us?

Member Avatar for Ella34
0
326
Member Avatar for Dani

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 …

Member Avatar for alan.davies
1
4K
Member Avatar for happygeek

1. Yes 2. Yes 3. What could we do to keep DaniWeb relevant for you?

Member Avatar for Reverend Jim
1
2K
Member Avatar for OpenPress.Com

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 ;)

Member Avatar for lewisclark019
0
462
Member Avatar for amarnath_2

Are you asking what the recommended anchor text should be? I would say something that appears natural and not keyword stuffed.

Member Avatar for lewisclark019
-2
455
Member Avatar for Dani

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 …

Member Avatar for Dani
0
4K
Member Avatar for dukoolsharma

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.

Member Avatar for Sheetal_1
0
392
Member Avatar for John_165

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 …

Member Avatar for John_165
1
3K
Member Avatar for alan.davies

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!

Member Avatar for Dani
1
4K
Member Avatar for Dani

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?

Member Avatar for pty
0
4K
Member Avatar for HimaniBansal
Member Avatar for Emerogork

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.

Member Avatar for anaconda
0
623
Member Avatar for rproffitt

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 …

Member Avatar for ernie.cordell
0
3K

The End.