does anyone have code?

Member Avatar
Member Avatar
+0 forum 3

Hi All, thought I'd pass on a (very) simple password class which is built on the new `password_hash()` and `password_verify()` functions. You will need php 5.5.0+ in order to get this to work. If you're thinking of modifying this and using it in a production site, please check that your host has 5.5.0+, as many do not. To be honest there's not much going on beyond the two functions mentioned, but it can be modified easily to change any validation rules. [VERSION 1.1 with improved validation and rehashing](https://www.daniweb.com/web-development/php/threads/485519/a-simple-password-hash-and-verify-class#post2125105) (as suggested by veedeoo and ~s.o.s~) Comments, improvements etc. most welcome.

Member Avatar
Member Avatar
+8 forum 9

I cant seem to get this login form to work right I have the login form come up and i can use it to get to the form.php page that i try to access but my problem is that its not verifying any login information, it just goes on through to the form page regardless. Let me give some more detail to clerify some things, im running this program over a local network so i dont need anything encrypted and also my login form is based entirely on an admin changable user name and password in phpmyadmin, my boss will …

Member Avatar
Member Avatar
+0 forum 12

Hello everyone ! Here a question :D I have this code function validateName(){ if ( name.val().length <= 4 ){ name.removeClass('valid'); nameInfo.removeClass('valid'); name.addClass('error'); nameInfo.addClass('error'); nameInfo.text (" You need to have more than 4 letters "); state = false; }else{ var uname = name.val(); $.post('validateuser.php' , {names:uname} , function(data){ if (data != 1){ name.removeClass('valid'); nameInfo.removeClass('valid'); name.addClass('error'); nameInfo.addClass('error'); nameInfo.text("This name is already registered!"); state = false; }else{ name.removeClass('error'); nameInfo.removeClass('error'); name.addClass('valid'); nameInfo.addClass('valid'); nameInfo.text('Valid name'); state = true; } }); } return state; } and this one $("#send").click(function(){ if( validateName() == true ){ alert('works'); }); And it actually won't work .. Any suggestions?

Member Avatar
Member Avatar
+0 forum 7

So, I installed the recaptcha into my site... and I don't know why it doesn't verify... You can submit the form with out worrying about the code you have to type in so that recaptcha verifies the form. So... I have a form that shows recaptcha, but it doesn't verify... how do i fix this?

Member Avatar
Member Avatar
+0 forum 11

Hi guys im trying to make a program that will work as " Slot Machine " and im stuck in one part that i can not resolve. Im trying to verify predetermined char in random array so i can know if some of the three char appear three times or more. I want to do that so i can deteremined how much player is going to win. Im new to programming so i would appreciate any help that i can get. Here is a part of my code that i need help with. [CODE]srand ( time(0)); char sign[3]; sign [0] …

Member Avatar
Member Avatar
+0 forum 3

Hi guys im trying to make a program that will work as " Slot Machine " and im stuck in one part that i can not resolve. Im trying to verify predetermined char in random array so i can know if some of char appear three times or more. I want to do that so i can deteremined how much player is going to win. It depends on how many lines of the same char do player get. Im new to programming so i would appreciate any help that i can get. Here my code that i need help with. …

Member Avatar
Member Avatar
+0 forum 3

Hi there, I have a question related to this topic, i dont know if I should make a new thread or how to make a new thread. I am making an adult website and I just need a disclaimer and 2 buttons one that verifies age or one that redirects them out of the site. Here is the code someone told me I would have to use [CODE]if (cookie doesn't exist) { print agreement if (agreed) { make cookie redirect } } else { print real page }[/CODE] I was hoping someone could make this in php for me, cause …

Member Avatar
Member Avatar
+0 forum 5

Here I am attaching second question and answer. I want to know weather there are any mistakes. I my ER- diagram I am missing 4 point. Please help.

Member Avatar
+0 forum 0

I'm trying to make a SMTP Checker using Python. The checker will do the following things: The code will take a list of smtps accounts (ex: host,user,pass) and will try to send an email to a email you will specify in the code. If it's successful (the send of the email)it will print the host/user/pass on the screen. If not, the code will go to the next host and so on. I'm stuck somewhere .... I'm a beginner at Python , just 2 weeks of python learning and I can't realize where I'm doing wrong. [CODE]import sys, smtplib, socket from …

Member Avatar
Member Avatar
+0 forum 2

This is what I have so far. This isn't working and this isn't even close to working. I'm not that experienced at C++ so I was hoping that someone would help me please. The assignment is basically to write a code to validate an email address to see what characters are allowed and what characters aren't allowed. Please help in anyway possible. Thank you. [code]// reading a text file #include <iostream> #include <fstream> #include <string> using namespace std; int spc_email_isvalid(const char *address) { int count = 0; const char *c, *domain; static char *specialchars = "()<>@,;:\\\"[]"; // validate the name …

Member Avatar
Member Avatar
+0 forum 12

The End.