Jump to content
Killersites Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Neo73

  • Rank
    New member
  1. I found a solution, but I would appreciate your advise regarding security: Without having to import the password_compat-library via Composer, you can obviously replicate the same hashing algorithm in PHP 5.3.7 with the following code: <?php $password = 'admin'; // sample password $salt = mcrypt_create_iv(22, MCRYPT_DEV_URANDOM); $salt = base64_encode($salt); $salt = str_replace('+', '.', $salt); // Salt is stored in the authentication class echo "</br>"; echo "</br>"; echo $hashed_password = crypt($password, '$2y$10$'.$salt.'$'); // This value is stored in the database
  2. As the OOP login tutorial is using the unsafe MD5-algorithm (despite the salt), that is potentially prone to brute-force attacks, I would like to improve the code a bit using the crypt()-function with blowfish (most servers still don't run PHP 5.5 with the new password_hash()-function). In the end of the day, it is probaly the best way to use a secure library, but for the sake of learning, I tried to proceed with the following: So let's say for simplicity if we don't randomize the creation of a salt and just use a fixed value we would generate a hashed password according to the PHP-m
  3. Hi, I tried to use the authentication class from the OOP login tutorial in combination with the OOP shopping cart. The problem is that both tutorials use different template methods, in particular getData(). Out of the box, the OOP login classes, just work fine, I can log in and out without problems. However, in combination with the m_template.php of the shopping cart, the login credentials (although correct) are posted at the top of the page and the 'access-denied' error message is displayed. I tracked the problem down to the getData()-function in m_template.php, which seems t
  4. You go to https://developer.paypal.com/ to create a new developer account. Once you have logged in you go to 'Applications' -> 'Sandbox accounts', where you create new seller- and buyer-test-accounts. After that you select the seller account and click on 'Enter Sandbox Site', where you login with the credentials of your test account. Within the PayPal Sandbox you go to 'Merchant Services' and click on 'Create payment buttons for your website' and then 'Create a button'. That leads you to the original html-form-generator. The rest works as described in the videos. Hope t
  5. Hi Stefan, after searching for quiet some time for the relevant links on PayPal's website this morning, I was able to implement your original solution. They really made a step back in user-friendly design and their documentation is quiet a mess. The older website was much clearer. Once you find your way through their chaos and you find the original button generator, your video explanations are very straight forward. However, I assume that your original solution addresses the classic API, so if you have an update on the incorporation of the REST API that would be much appreciated.
  6. Hey guys, PayPal changed it's APIs and website some time ago, which unfortunately makes the PayPal integration videos (33-39) of your Shopping Cart Tutorial obsolete. I bought your tutorial with the expectation of getting a beginner's explanation how to effectively integrate PayPal. PayPal now seems to differentiate between the new REST API and the old Classic API, which will only be supported until further notice. Their documentation / website is pretty confusing and not really clear as the information is all over the place. I would appreciate your guidance how to implement PayPa
  7. Hi, thanks for your response. My e-mail should work normally. I have no problems to receive anything... Please let me know when you have a solution. Thanks.
  8. Hi, there seems to be a bug in the shopping cart tutorial: Have a look at the demo-version on http://www.killervideostore.com/video-courses/live-demos/PHPCARTOOP/ If you put only 1 item in the cart and you manually change the quantity in the input field from 1 to 0, you will get 2 error messages: Warning: mysqli::query() [mysqli.query]: (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY name' at line 1 in /home/killervi/public_html/video-courses/live-demos/PHPCARTOOP
  • Create New...