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 dencom 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: *

  • Users: max2474
  • Content: Threads
  • Order by date
  1. max2474

    Lost SESSION variables on same page redirect.

    Hi. I cannot work out what I've missed as I am using pretty much the same code as elsewhere in my site. I have a login check, which has been working fine, regenerating sessions and writing them to the database as needed. I have just added a header redirect and my session contents vanished...
  2. max2474

    intermittent error updating database

    Hi. I have this scripts to update my database totals: while ($mppaycount <= 8) { $mpref=$_SESSION[refs][$mppaycount]; $mprefpay=$_SESSION[refpay][$mppaycount]; $mppayrefs=mysql_query("UPDATE members SET tottokens = tottokens+$mprefpay, tokens = tokens+$mprefpay, newtokens =...
  3. max2474

    Function keeps resetting vars..and will not stop

    Managed to stay away for a while..lol. Lots of progress and overcome many problems, but cant work this one out.. Have not really used functions before, but now I have a need. Have written this : <?php function paylvlbonus($userid,$amount) { $t1paid=0; $t2paid=0; while...
  4. max2474

    Alternatives to &quot;SELECT *&quot;

    Am having lots of questions pop up, so am posting them as I think them..hope you don't mind :) Having read that ideally, you should not use SELECT * and specify which columns you want instead, e.g. SELECT column1, column2 FROM... I have successfully changed all my coding accordingly with...
  5. max2474

    Encryption, hashes, and general security.

    I have been reading up a lot on hashing and site security recently. I have always had a few doubts about hashing though most likely just due to lack of understanding... 1. If a database is stolen, then surely all of a users information (except the password) is readily available for an...
  6. max2474

    failing sql query.

    First, please see here as I originally thought this to be a php issue. Am almost at the pulling hair out stage...lol. I have 5 dynamically chosen tables to write to depending on user input. If plan1 is chosen, all info is updated in the database perfectly. If any other plan number is chosen...
  7. max2474

    dynamic table and field searches

    Hi. I am trying to save myself some coding. I think this is a php question rather than sql... I have 5 tables in database called plan1, plan2 etc.. with each one having 9 columns (tot1, tot2, tot3, tot4, etc..) I am wondering if there is a way to do something like the following : $c=1...
  8. max2474

    strange session error when page refreshed

    Hi. I started a thread in sql forum thinking this was my issue. please see it here. I am starting to believe this is a "bug" of sorts... I have merged the two databases into one. I have also put all of the contents into one page (removing the need for "require") to help source the problem. I...
  9. max2474

    mysql f5 peculiarity

    Hi. I am developing a site with two databases - one is for customers to apply to join as members, the other is a members database. Everything seemed to be working well, until I tried "bug hunting". When a new member signs up, they are deleted from the first db and added to the second. If that...

Part and Inventory Search

Back
Top