Let me make sure we're talking about the same thing. The 'users' in the table only have access to their information within the table, not the entire DB. I'm not talking about the mysql user tables, only 1 table in the db that has passwords stored by individual users within the table...
Ok, spoke too soon. My code works great on my testing server, but saves the password in 'password41' in the same 16bit format that 'password' was saved in. Is this hardwired into the mysql version (5.0.67) or php (5.2.6)? Can I force a 41bit save in the code? In the end, I guess if I can still...
You guys are great. Problem solved "on the fly." Here's the final code:
$query="SELECT num, user, password FROM volunteers WHERE user = '$_POST[username]' AND password = old_password('$_POST[password]')" or die(mysql_error());
$result=mysql_query($query) or die(mysql_error())...
I'm the administrator for a website that began with a pre mysql 4.1. The passwords for the users are stored in 16 bit format. The mysql has been upgraded to a version 5, but the passwords in the table remained in a 16 bit format, instead of being converted to the 41 bit format that is now...
Ok, thanks. I was trying to make this much more difficult than it was, and I thought I was doing something different than I was actually doing. I thought I was creating a new DocumentRoot for each site I was testing. Once I figured out that was not the case, everyone's advice worked like it was...
Thanks for the help. the mysite1 duplication was a typo. It is correct in my httpd.conf. I'm getting this error when I type the address (I changed the www to vh in the hosts file and the httpd file as not to confuse myself in accessing an external site, not my internal site):
Forbidden
You...
Ok, thanks for the start. I'm still having a problem getting this to work. It's probably in the syntax, or my setup in Dreamweaver, but there are too many variables that I'm trying to chase. Here is what I've got so far:
Added:
<VirtualHost *:80>
ServerName www.mysite1.com
DocumentRoot...
I have a testing server with Apache 2063 & php5 on a Win XP machine that I use to test 3 different sites. Currently all files are served from htdocs, but the original files are saved in My Documents under "Site1", "Site2", "Site3". In htdocs, ALL the files for all 3 sites are in the 1 folder. Is...
ok, scratch that about the code executing. On clicking 'Calculate' with my current setup, the calculations DO NOT execute, the page just scrolls. Got to come up with something different. Sorry. Tried so many things, I'm breaking other things to make this work.
Thanks, yes it does, but I have 4 positions of 'Calculate'. I tried to set $m="#calc$x" within the function, then use $_Server['PHP_SELF']."$m" but can't get the variable to carry over to the browser once it reloads.
With my current code, when I highlight 'Calculate' in FF, I get the whole link...
Ok, I've had this post over on the html forum trying to get through it and, although they have been great, I can't get this to work. I thought it was an html problem, but I'm going to see if the php people can help.
I've got a page with 4 'Calculate' buttons derived from a function:
<...
Thanks again, Dan. I did find a plug in for Firefox that does a more extensive job of validating html. It actually uses http://validator.w3.org/ as one of its validators. What I found is that most of the invalid code is resulting from php statements embedded within the html input statements that...
Sorry, the only validator I know and use is the one built into Dreamweaver. It says it's clean. I don't have another to use. Thanks Mark.
Dan, your code seemed to work, but as soon as the page loads and jumps to the anchor position, it reloads again from the top of the page in both IE7 and...
thanks, Mark. Still no luck. Got rid of all validation issues, even commented out the <script/javascript that is not in use. Still same problem. I'm about ready to give up... but things like this keep me awake at night. It's not necessary for the page to run, but I WANT TO KNOW WHY!!! Oh, well...
Once again, sorry, it's there. Here's the link. I was trying to save time and space:
www.etechgear.com/Publix/PubInventory.php
Thanks again. If all else fails, I'll make them scroll!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.