Dani 1,745

Lol. Spammy.

rproffitt commented: For moment I thought we were going back the distant past about a scene in "The Jolsen Story." Not P.C. +15
Dani 1,745

I’ve found press release websites don’t perform as well as they used to.

1 good quality backlink can be worth 100 poor backlinks. For top tier (e.g. editorial backlinks from sites like the Huffington Post) then look into responding to HARO queries on a daily basis.

Dani 1,745

Darn, yes! I'll get to this tomorrow. Promise.

Dani 1,745

Member profiles now have a new statistic that measures impact. It counts how many people the user has reached. It should be noted that we just started calculating this number earlier this year, so at this time, the highest number is roughly one million.

ernie.cordell commented: It's a good post. Shows interest. With my participation, it's better than I can do +0
Dani 1,745

Check out DaniWeb Connect, which is designed to connect people one-on-one who are within a geographical area to discuss specific topics. Go to https://www.daniweb.com/connect and then type the desired keywords (e.g. amazon, alexa, etc.) in the Skills and Interests field.

Dani 1,745

If you try to type something and it doesn't go through, hitting the Preview tab should highlight the line that's confusing our Markdown parser.

Dani 1,745

It depends what you have to offer and what industry you're in. If you're a programmer, having a Github account with open source projects or contributions is vital.

Dani 1,745

Sorry, I'm a little confused by what you mean. What do you mean by retain the selected value? When do you want it to retain the value? After submitting the form?

A dropdown will default to the option that has selected specified. So, for example, when iterating through the while loop, if $row1['class'] is equivalent to what was passed into the form, for example $_POST['selClass'], then you would want to set it to be selected as so: <option value="value" selected>.

Dani 1,745

I've seen folk try to use SEO and such as you listed but their basic product and reputation remain the same. I consider product, company and the folk that run the company the foundation. If these are missing then proceeding with more marketing does not change what they are building on.

Yes, product, company, and company leaders are the foundation, and if they are missing, any amount of marketing won't help. However, I still feel like it's incorrect to say that digital marketing is not special from the forms of marketing that came before it, it's just marketing over a different medium, and nothing has changed in marketing.

Dani 1,745

This appears to be part of a homework assignment, in which txt files are required but you didn’t attach them to your post.

Where are you stuck with this assignment? Are you getting any error messages? Please show us the code you have so far and explain where you’re stuck so that we can help you.

Dani 1,745

HI William! Welcome to DaniWeb :)

Dani 1,745

Glad I could oblige, Jim!!

I've had something else I've wanted to say, as well, and just never got around to it. Since you've updated this thread, I figured I might as well say it now :)

 There was a case quite a few years back where a Sikh wanted to become a member of the RCMP. The RCMP has a strict dress code that includes a particular hat as part of the standard uniform. This hat was not compatible with the traditional turban so his application was refused. The dress code was not created to exclude Sikhs. It had been in play for many decades before he applied. Should they have allowed him to serve by modifying the dress code?

I absolutely feel like they should have allowed him to serve by modifying the dress code!! Not too long in our history, being a police officer was a "man's job". Women were forbidden from being police officers because the excuse was that there were no female uniforms. There are still so many industries today where dress code is an excuse not to progress into gender equality.

And then there was the infamous NASA spacewalk just last month. It made headlines for promoting it was going to be the first-ever all-women spacewalk. Female engineers cheered! Finally, women role models in the sciences! Teachers used it as a valuable lesson to teach in the classrooms. Buuuuuttt, embarassingly it was scrapped at the very last moment because there weren't two female ...

rproffitt commented: Small world. I lived in Richmond BC Canada and this came up. There were changes and soon they were on the force. There's more to this story. All good +0
Dani 1,745

Ok, so yeah, the email address associated with this account begins with a K. I suggest you log out and request a password reset to your gabgarri account.

Dani 1,745

They probably created an original account with Social login with Facebook or Google, and when they tried to log in this time, it created a brand new account instead of logging them in. I’ll investigate. :)

Dani 1,745

I think it's realistic for someone of any age to attempt a new career in programming. My criticism is mainly of my experience with people who have come out of coding bootcamps.

6 months of time is not realistic to really grasp all but the very surface of programming, and that's assuming you're putting in 12+ hour days building up your portfolio. Check out this article I just stumbled across: https://techbeacon.com/app-dev-testing/bootcamps-wont-make-you-coder-heres-what-will

Dani 1,745

1) Is it realistic to even consider this as a career for the next 10 years for someone my age? Assuming it is,

Programming is a huge industry. Everything from writing hardware drivers to designing games for gaming consoles to building a website to on-page search engine optimization to front-end UI. You can get a full-time job in Silicon Valley or you can be an independent consultant working out of your home office or anything in between. They all require different sets of skills, have huge discrepancies in salaries, and some might be more suited to you than others, depending on your current skillset and interests.

2) Are there some coding schools that you can comfortably recommend that are accepted by the IT industry?

A lot of people love coding schools but I am one of those people who is not quite sold. I think they're great to teaching you how to build a snazzy website for a small business or a simple mobile app in a very short amount of time. That's what it's all about ... making you hireable as quickly and efficiently as possible. However, what they don't tell you is that without the background of a computer science degree, you will lack all of the mathematical and analytical experience required to focus on big data sets (e.g. working with billions of records), fine-tuning performance, etc. It's my personal experience that coding schools teach you what's necessary to land your first small-time consulting gig, and ...

rproffitt commented: That's a quality reply. Great example. +0
Dani 1,745

If your form includes two submit buttons that each need to do something different, you can use AJAX (Javascript on the front end) to override the form action based on which button is pressed.

Dani 1,745

So you View Source each site you visit as you browse the web? I think if you have to View Source in order to tell, then it’s not obvious :)

Dani 1,745

I disagree. WordPress now powers more than one third of all sites on the Internet. Sure, you might stumble across a typical blog and instantly think WordPress. But there are so many sites out there I never would have thought we’re on the platform at first glance.

Dani 1,745

I find that a lot of folk won't ask the site owner the questions. Why is that?

Because, while it may be the case that imitation is the best form of flattery, some people feel self-conscious about coming off like a copy-cat, or they're afraid the site owner will think they're trying to be a competitor, or steal their hard work.

Dani 1,745

I see you marked this thread as solved. Do you still need help with code to change password? I suggest you begin by using the password_hash() function for joining and logging in, and then use the pseudocode I provided. Let us know if you need more assistance.

Dani 1,745

So it looks like you are storing passwords in plain text in the database. NEVER. EVER. DO. THIS. It is incredibly insecure. Please look into PHP's password_hash() function.

Dani 1,745

That’s the thing. We need to see your register and login code in order to give you the code for password change.

Otherwise, without it, the best we can offer us the pseudo code I provided in my first reply above.

Dani 1,745

So I’m confused. You’re asking for help writing the PHP code that can be used to do a lost password reset, but you don’t have code for a signup or login?

Dani 1,745

Rproffitt,

When I started DaniWeb, I launched it on the phpBB platform because I couldn’t afford a $100 vBulletin license. From a developer’s perspective, you may think $100 is almost nothing for the value of an entire fully functional web app. As a student, anything I couldn’t afford to buy, I learned how to build myself from scratch.

rproffitt commented: I agree this is the best incentive to "roll your own" solutions. +0
Dani 1,745

OK, so you're connecting to MySQL via PDO. I'm personally not familiar with PDO. Is there a reason you're not using something like MySQLi?

It seems as if you don't have very much experience at all with web development. Did you write this PHP yourself? Where is your PHP code to log in? Your database schema? Is this part of a larger PHP application?

Hasan_10 commented: . +0
Dani 1,745

So I see you have a list of DNS servers, but I'm not quite sure why. The web server should already have a way of resolving domain names to IP addresses. What you want to do instead for curl_setopt($curl, CURLOPT_URL, $serverName); is simply set $serverName to the IP address you're trying to connect to.

Also, you are setting the user agent to $_SERVER['HTTP_USER_AGENT']. Keep in mind that the user agent is a string that web browsers send to the web server to identify themselves. Therefore, a user agent won't exist if you're running this script via a cron job or a CLI script (e.g. it will only work if you're running this PHP script from a web browser).

Also, lines 49 and 50 say to use the values within the $proxy array corresponding to the element with index 0. But your $proxy array has indexes 1, 2, and 3, and does not have an index 0.

Dani 1,745

So if you want to get a cut of the transaction and forward the rest to the user, you don't want to use JSON with the Payouts API. That's why I wanted to get a clearer picture of what you're trying to do. Because, for your use case, you don't want to use the old Masspay API or the Payouts API. That's not what they're designed for.

What you want to do instead is use Adaptive Payments, which is specifically designed for when you are the owner of an app, and you want there to be multiple receivers of the payment. Her'es more information: https://developer.paypal.com/docs/classic/adaptive-payments/integration-guide/APIntro/

If you read that entire page, it should answer all your questions. Parallel payments looks like what you would like to do.

I understand that the page says that you need to opt-in to the service, so your best bet is to read that whole page, and then contact PayPal customer service for more information about getting started.

Unfortunately, PayPal IPN or the Payouts API won't do what you want.

Dani 1,745

OK, so firstly, are you able to confirm that /Client/GetClientList returns something like:

[{"Id":1,"FirstName":"abc","LastName":"xyz","FullName":"abc xyz"},{"Id":2,"FirstName":"qwe","LastName":"rty","FullName":"qwe rty"}]

If that's true, then we can say the C# part (which I can't help you with) is correct, and we just need to look at the Javascript part.

Taher_3 commented: Yes, I'm getting Json result in this format and I'm unable to handle this result +0
Dani 1,745

You need to provide some more information in order for us to be able to help you. I see here you are giving us an HTML form that asks a user for an old password, and to enter a new password twice. I understand what you want to do is update the password in the database, when the form is submitted. However, you are giving no insight to what your PHP application code currently looks like, what database you're using, how passwords are stored in the database, etc.

Basically the steps that would be involved would be:

  • Retrieve the old password from the form
  • Check to see if the new password and repeat new password fields are the same
  • If they aren't a match, show an error that the passwords are not the same
  • If they are a match, compare the old password to the encrypted password for the user in the database
  • If they aren't a match, show an error that the old password is incorrect
  • If they are a match, encrypt the new password and overwrite the encrypted password field in the database

Now, how that algorithm actually gets translated into PHP code has a lot to do with what PHP framework (if any) you're using, what database you're using, what library you're using to connect to the database, the database schema, etc.