Jump to content
Larry Ullman's Book Forums

All Activity

This stream auto-updates     

  1. Today
  2. Yesterday
  3. It will be my pleasure Mr. Larry, since i have tried various ways to no avail did i succeed.
  4. Last week
  5. @fingers, thank you. Can I add that when I extracted the files, the HTML folder did not contain the Common2.php file which is required by Node.php. I was able to get it from https://github.com/pear/HTML_Common2/blob/trunk/HTML/Common2.php I hope this helps someone.
  6. Hi, with reference to chapter 10 and 16 of Mr. Larry's book "PHP 6 AND MYSQL 5 FOR DYNAMIC WEBSITES visual quickpro guide" low price edition, please i'll like to receive help from this forum too as well as to configure Xampp in order to be able to send mails. Please i'll be ever grateful if i can receive help from here. i have gone through various links and videos but to no avail did I succeed I as well watched this video on youtube inorder to configure mercury to send mails but still didn't succeed. Thank you.
  7. Hello i am new to this forum, with reference to Mr. Larry's book " PHP 6 AND MYSQL FOR DYNAMIC WEBSITES VISUAL QUICKPRO GUIDE" low price edition. Please, i have been trying to login a user for the pass two days but i am not getting it right because i can't access the login page without activating the account which is done by clicking the the link in the email. So the problem is i don't receive the email after configuring the sendmail.ini and the php.in for the email, therefore i am stuck and i can't proceed. i even downloaded thunderbird for sending and receiving the emails and also configured the mercury and added new users through on the control panel admin->configuration->manage users->Add... I even tried creating the simple login page that will not require the user to activate his account through the link using the example in chapter 11. But still couldn't get it right. Please i will really like to have help from this forum, Thank you.
  8. I think you've posted this in the wrong set of forums as I have no idea what you're referring to.
  9. Are you sure this is from the PHP Visual QuickStart Guide book?
  10. Earlier
  11. When trying to run the chapter 9 website on xampp I get the following error: Fatal error: Uncaught Error: Class 'Page' not found in C:\xampp\htdocs\views\index.html:4 Stack trace: #0 C:\xampp\htdocs\index.php(23): include() #1 {main} thrown in C:\xampp\htdocs\views\index.html on line 4
  12. I attached a file to this message. I finished up this file. Is it all correct? I read Module 5 that was related to this file. If there are any thing I need to add, let me know. paycheck.php paycheck.php
  13. There is also a similar example in detail using jQuery in the book "JQuery in Action, 2nd Edition" chapter 8.
  14. Hi Jane , how are you doing? I'm a student and I'm stuck on adding product attributes(colors and sizes) to my ecommerce website Can you please help me with the codes maybe I can use it as well ? Please help me exam is there in one month
  15. Maybe I'm trying to introduce a new word into the lexicon. 😉 Thanks for catching and reporting!
  16. In Chapter 5, under the section for Inserting Records, there is a sentence that starts, " Note that if a coxlumn cannot have a NULL". I believe the word "coxlumn" is misspelled. I did not find that noted in any forum for the book.
  17. Could you clarify what specific script you're asking about just to make sure we're talking about the same code? Or post the actual code in question?
  18. Hi I am a complete newbie with js and I am struggling with OOP ass well. I can't get my head around how login.php is blocked if the js validation fails. I can see that the js will return FALSE, but how does this stop the form being submited by the php script? I hope this question makes sense. Thanks and kind regards, Santilal
  19. Two things do stand out for me here. First, any time you're talking about handling money, the requirements are way more strict. You'll need to think a lot about security, but there are also legal and regulatory requirements like licensing, KYC (Know Your Customer), illegal money transmissions, etc. I can't exactly tell if these will be concerns of yours or not, but something to be aware of, at least. Second, that you're trying to use an API that's poorly documented is a cause for concern! In any case, good luck with your project and let us know if you have any specific questions!
  20. Any updates on the next release of Yii2 book? I'm a little concerned that lack of activity here means Yii popularity and support is dipping?
  21. I have a current project that i want to develop but i am getting confused along the way and would need valuable support from this forum. The project is about an organization that lends money(loan) to some set of government workers whose salaries details and bank accounts are with the Web Service which the website will be integrated into. The logic of the program is that the loan applicant will first of all enter his/her first name, last name, email and phone number on a front-end form on the loan issuer website, then when he/she clicks the submit button, his data will be sent to the web service API to check the applicants data in their database to know if they are eligible to be granted loan. If yes, then the loan applicant proceeds in requesting for loan. The web service API did not provide detailed documentation on how to do the integration. But they listed some headers like MERCHANT_ID, API_KEY, REQUEST_ID, REQUEST_TS, API_ENDPOINT, API_METHOD, AUTHORIZATION_TOKEN etc that must be used to construct the request to the API. I therefore seek for helpful php codes that can educate me on how to go about making calls to API, retrieving data from its response and possibly saving the data into database. Looking out for your supports in this forum.
  22. OK, I'll use the timestamp approach. Thanks for the advice. Cheers, Necuima
  23. You can't rely upon a browser event for something like this. But if you use sessions or cookies, those will automatically expire. Or you can store a timestamp in the database to reflect the most recent activity and then add logic that checks that value.
  24. Hi Larry, I finally got to the point in my complete software re-load/re-build where I could test your suggestion. I re-downloaded the script from your website and made the suggested change but unfortunately I am still getting the error "on line 29: session_write_close(): Session callback expects true/false return". Here is my modified code: // Define the close_session() function: // This function takes no arguments. // This function closes the database connection. function close_session() { global $sdbc; mysqli_close($sdbc); return true; // return mysqli_close($sdbc); } // End of close_session() function. My environment is XAMPP 7.3.5 with PHP 7.3.5 both 64 bit under Windows 10 (64 bit). I know that you are a very busy man so please treat this as low priority - I will use a work-around. Best regards, Necuima.
  25. Hi Larry, On pages 284-5 you mention the browser unload event. I'd appreciate your advice re what I imagine is a common issue in that if someone just closes the browser without logging out I want to be able to update a database table to set a logged-out condition. Can this be done reliably either with native JavaScript or jQuery initiating an AJAX call to a PHP module to effect the database update? My program is PHP with lots of jQuery. Looking forward to your advice re this or similar functionality and thank you in anticipation. Cheers, Necuima
  1. Load more activity
  • Create New...