Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bccamp

    convert password hash?

    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...
  2. bccamp

    convert password hash?

    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...
  3. bccamp

    convert password hash?

    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())...
  4. bccamp

    convert password hash?

    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...
  5. bccamp

    Can I test 3 sites having individual folders in htdocs?

    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...
  6. bccamp

    Can I test 3 sites having individual folders in htdocs?

    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...
  7. bccamp

    Can I test 3 sites having individual folders in htdocs?

    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...
  8. bccamp

    Can I test 3 sites having individual folders in htdocs?

    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...
  9. bccamp

    named anchor problem

    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.
  10. bccamp

    named anchor problem

    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...
  11. bccamp

    named anchor problem

    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: <...
  12. bccamp

    named anchors

    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...
  13. bccamp

    named anchors

    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...
  14. bccamp

    named anchors

    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...
  15. bccamp

    named anchors

    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!
  16. bccamp

    named anchors

    Sorry, here is the paste: <body> <form method="post" action="/Pharmacy/PubInventory.php"> <div align="center" class="PageHead"> <p>Pharmacy Physical Inventory Variance Report <br> <span class="BoldHeadRed">Warning!!! Closing this browser or browsing to another page will erase your...
  17. bccamp

    named anchors

    Sorry about the missing quote. It's there, just lightening fingers missed it when I was copying from the other monitor. What I have is a webpage form that has a multitude of user entered data. When 'Calculate' is activated, the page is reloaded to itself, calculations are performed by php, and...
  18. bccamp

    named anchors

    As a side note, sort of a bonus, I put a javascript code in the middle of a table that contained the 'Calculate' functions. That code made the functions stop working completely, and cleared the table of $_POST[data] when reloaded. The entire page worked in Firefox, but completely broke in IE...
  19. bccamp

    named anchors

    I'm having a problem making a named anchor work in ie7. My process works fine in Firefox, but my target audience can't use Firefox (corporate types). Anyway, I have a PHP function called 'Calculate' in 4 positions in my document. I want the page to return to that position when 'Calculate' is...
  20. bccamp

    determining cell width

    yes, The fonts are the same

Part and Inventory Search

Back
Top