Jump to content
Killersites Forums


  • Content Count

  • Joined

  • Last visited

  • Days Won


mrtezmo last won the day on March 27 2014

mrtezmo had the most liked content!

Community Reputation

1 Neutral

About mrtezmo

  • Rank
    New member
  1. For 8 Hours I was trying to solve this yesterday, been out all day with kids, got back and the first thing i tried worked ! Hoorah ! if ( md5($_POST['current_password'].$Acc->salt)!= $Acc->get_current_passw($_SESSION['the_id'])) The reason as to why it never worked when comparing the two vars that held exactly the same data is beyond me, but I would still like to know if anyone who reads this knows why.
  2. mrtezmo


    Gradients are used to fade one color to another. Linear gradient is where the color fades down the page for example or accross, there are other types such as radial (circular) where it starts in the middle and fades to the edge. You can specify the start and end positions of the gradient, hence the top left and bottom left. You can also use more than two colors and specify multiple start points for each color. The syntax to apply a gradient differs from browser to browser, as in your example webkit(Chrome, Safari) is different from Mozilla (Firefox)but will both produce the same result. I am
  3. This morning I tried: if ('290662176e3fece19eba2b3c1a032ee3' != '290662176e3fece19eba2b3c1a032ee3') And this worked as expected. I did wonder if the problem was due to the single quotes, however removing them with the above example generates a blank page with an error, unlike when using the variables and then my own error is displayed as it should, NOT equal, when they are. Below is the page in question: if (isset($_POST['new_pass_submit'])) { // if any blank then send alert redirect if ($_POST['current_password'] == '' || $_POST['new_passw'] == '' || $_POST['new_passw2'] == '')
  4. I have been trying to solve this for hours and have ran out of ideas. i have two variables, db_pw holding the hashed value of password from the database and cp which holds the hashed (password plus salt) entered by the user. This is the if statement if ($db_pw != $cp) set alerts:Current password is incorrect! echo vars to check, load view etc else carry on this is the alert I get when the statement runs, i have echoed the two variables Current password is incorrect! database password value : 290662176e3fece19eba2b3c1a032ee3 form password value : 290662176e3
  5. Hi Ben Thanks for the reply, the site is not online unfortunately, I am using xampp. I am going to try the cart at college tomorrow in an attempt to rule out the possibility of any browser settings causing this problem, and also seek the advice of friends/tutors. If this does not produce a solution I will send you a zip of the site and dump of database, however I will try to solve this before sending the e-mail as I don't want to give you even more to do, especially at the weekend. I will let you know if I do manage to find the cause, Thanks very much Terrence The problem was
  6. I have followed the PHP Shopping Cart with OOP and MVC video tutorials and am up to the stage of integrating it with paypal. Before doing this I decided to test the site in all browsers as I have made some additions to the code, mainly adding extra pages, such as contact and about, and altering style to fit the site the cart is going into. Everything is fine in Chrome and Firefox yet the cart does not work in IE9. All the links and content display yet the add to cart buttons do not add to cart. I was wondering if anyone else has had a similar problem or knows a possible reason to why this is h
  7. i've learnt more here in a month than the whole of last year at college!

    1. spiralmind


      Yeah who needs college anymore? The world is changing. :)

  8. mrtezmo

    Styling Cms Login

    I have been following the php cms video tutorials which i purchased recently. I am now at video 20 and have run into issues when trying to style the colorbox login form, it currently takes the index page's css properties. I have spent many hours going over the code and comparing it to the source files but I cannot find any errors, i am currently about to compare the code for the third time. I have also been through the videos twice and cannot see where i have gone wrong and was wondering whether anyone else has had this problem, i am thinking it is something really simple that i'm missing. Tha
  • Create New...