Jump to content
Larry Ullman's Book Forums

Larry

Administrators
  • Content Count

    5220
  • Joined

  • Last visited

  • Days Won

    143

Everything posted by Larry

  1. Hey Jonathon, Thanks for the words on the forum. As for Net_Geo, I'm a little confused. There's Net_Geo, which I used in the book, whose current version is 1.0.5. And there's Net_GeoIP, whose current version is 1.0.0RC3 (beta). Based upon the directory structure you originally indicated (Net/GeoIP.php), it looks like you installed Net_GeoIP, although I'm not sure where you get version 1.3 and that 2006 date from. Based upon the directory structure you indicate in this follow up post (Net/Geo.php), that's Net_Geo. So the first thing you'll need to do is pick one and go with it. If you want to match the book's instructions, use Net_Geo. If you want to use Net_GeoIP, see the PEAR documentation for that class.
  2. Kudos for figuring it out and thanks for letting us know. In the future, please make sure you also include vital details such as the version of PHP in use, per the forum guidelines.
  3. You should have been automatically redirected to the correct URL. But if you follow the Books By Topic > E-Commerce link at the top of the page, you'll be taken here: http://www.larryullman.com/books/effortless-e-commerce-with-php-and-mysql/#downloads
  4. What version of PHP are you using? What version of PEAR Geo IP Location? How did you install the PEAR Geo IP Location package?
  5. Hello Steve, Thanks for your question. I looked at the article and I'll admit that there are a few points made in the article that I disagree with (e.g., the argument to use mysql_pconnect() or the failure to confirm that variables are set before referencing them). I also don't think the author convinced me of the merits of addcslashes() over mysql_real_escape_string(). The argument for mysql_real_escape_string() is twofold: first, it puts more functionality into the database, which is generally advised. Second, it performs the escaping in a way that's particular to the character set used by the database, so it's more particular and less generic than addcslashes(). Also, to be clear, the author isn't using addcslashes() AND mysql_real_escape_string() but rather addcslashes() INSTEAD OF mysql_real_escape_string(). To be clear, it's really a minor distinction between the two, but I prefer mysql_real_escape_string().
  6. Thanks, Gregory, for the interest. I just suggested to the publisher that we do a new edition of this book, but I haven't heard back from them yet. Should they say yes, the next edition still wouldn't come out until 2012. Even though this edition came out in 2007, I think it's still reasonably up to date.
  7. To edit a page, presumably you're passing the page ID in the URL, as you would with a delete page feature. Then, use that ID to retrieve the page's data from the database. Then echo out the page's content between the textarea tags used for the RTE.
  8. This forum is specific to the fourth edition of the book "PHP for the Web: Visual QuickStart Guide", written by Larry Ullman and published by Peachpit Press published in March 2011 (ISBN 0-321-73345-2). If your question pertains to something specifically written in the book, including a particular script or bit of code, please make sure you're posting in the forum for the correct edition. If your question is not related to any book, that's fine, too.
  9. This forum is specific to the third edition of the book "PHP for the Web: Visual QuickStart Guide", written by Larry Ullman and published by Peachpit Press published in December 2008 (ISBN 0-321-44249-0). If your question pertains to something specifically written in the book, including a particular script or bit of code, please make sure you're posting in the forum for the correct edition. If your question is not related to any book, that's fine, but I would recommend you post your question in the forum for the most current edition of this book, which will be the most active.
  10. This forum is specific to the second edition of the book "PHP for the World Wide Web: Visual QuickStart Guide", written by Larry Ullman and published by Peachpit Press published in February 2004 (ISBN 0-321-24565-2). If your question pertains to something specifically written in the book, including a particular script or bit of code, please make sure you're posting in the forum for the correct edition. If your question is not related to any book, that's fine, but I would recommend you post your question in the forum for the most current edition of this book, which will be the most active.
  11. This forum is specific to the first edition of the book "PHP for the World Wide Web: Visual QuickStart Guide", written by Larry Ullman and published by Peachpit Press published in April 2001 (ISBN 0-201-72787-0). If your question pertains to something specifically written in the book, including a particular script or bit of code, please make sure you're posting in the forum for the correct edition. If your question is not related to any book, that's fine, but I would recommend you post your question in the forum for the most current edition of this book, which will be the most active.
  12. This forum is specific to the second edition of the book "PHP Advanced: Visual QuickPro Guide", written by Larry Ullman and published by Peachpit Press published in March 2007 (ISBN 0-321-37601-3). If your question pertains to something specifically written in the book, including a particular script or bit of code, please make sure you're posting in the forum for the correct edition. If your question is not related to any book, that's fine, too.
  13. This forum is specific to the first edition of the book "PHP Advanced for the World Wide Web: Visual QuickPro Guide", written by Larry Ullman and published by Peachpit Press published in December 2001 (ISBN 0-201-77597-2). If your question pertains to something specifically written in the book, including a particular script or bit of code, please make sure you're posting in the forum for the correct edition. If your question is not related to any book, that's fine, but I would recommend you post your question in the forum for the most current edition of this book, which will be the most active.
  14. This forum is specific to the second edition of the book "MySQL: Visual QuickStart Guide", written by Larry Ullman and published by Peachpit Press published in May 2008 (ISBN 0-321-37573-4). If your question pertains to something specifically written in the book, including a particular script or bit of code, please make sure you're posting in the forum for the correct edition. If your question is not related to any book, that's fine, too.
  15. This forum is specific to the first edition of the book "MySQL: Visual QuickStart Guide", written by Larry Ullman and published by Peachpit Press published in September 2002 (ISBN 0-321-12731-5). If your question pertains to something specifically written in the book, including a particular script or bit of code, please make sure you're posting in the forum for the correct edition. If your question is not related to any book, that's fine, but I would recommend you post your question in the forum for the most current edition of this book, which will be the most active.
  16. This forum is specific to the third edition of the book "PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide", written by Larry Ullman and published by Peachpit Press published in December 2008 (ISBN 0-321-52599-x). If your question pertains to something specifically written in the book, including a particular script or bit of code, please make sure you're posting in the forum for the correct edition. If your question is not related to any book, that's fine, too.
  17. This forum is specific to the second edition of the book "PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide", written by Larry Ullman and published by Peachpit Press published in June 2005 (ISBN 0-321-33657-7). If your question pertains to something specifically written in the book, including a particular script or bit of code, please make sure you're posting in the forum for the correct edition. If your question is not related to any book, that's fine, but I would recommend you post your question in the forum for the most current edition of this book, which will be the most active.
  18. Welcome to the new Larry Ullman's support forums! The previous forums, which have been around since maybe 2001 or 2002, was lacking some features and just had a lot of bloat and issues by this time. So I decided to make a bold step and replace the forums entirely. As with the previous forums, only registered members may post (registration is free), but anyone can read anything. Because this is a new, separate system, you will need to re-register to use these forums (my apologies for the inconvenience). The new forum software has some nice features that hopefully will make the hassle worth while (actually, this forum software goes the other way, perhaps offering too much). If you have an outstanding issue, please repost it in these forums (again, apologies for the hassle). The old forum will remain online for quite some time, I expect, but in read-only mode. If you have any problems, questions, feedback, suggestions, or whatever, regarding these new forums, please post a message in the Forum Issues forum. Thanks!
  19. This forum is specific to the first edition of the book "PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide", written by Larry Ullman and published by Peachpit Press published in May 2003 (ISBN 0-321-18648-6). If your question pertains to something specifically written in the book, including a particular script or bit of code, please make sure you're posting in the forum for the correct edition. If your question is not related to any book, that's fine, but I would recommend you post your question in the forum for the most current edition of this book, which will be the most active.
×
×
  • Create New...