hacker Posted July 27, 2014 Share Posted July 27, 2014 Larry, There's a couple points on page 330 I'd like to discuss. Can you expound on: "... unless you are merely copying the entire contents of a file, you'll need to develop some system for gleaning the parts of a page you want according to how the data is structured." Are there references that go into detail regarding this? Also... Without the aide of gummy-stuff.org (pulled from the web), what resources do we have for format string information? I've noticed the references made in your tips section on page 332; however, do those "networking-related" classes of PEAR supply format strings necessary to communicate with Amazon, Yahoo, etc.? Thanks, Hacker Link to comment Share on other sites More sharing options...
Larry Posted August 1, 2014 Share Posted August 1, 2014 I don't have the book in front of me, so I'm kind of guessing at an answer here. I believe it's mostly a matter of doing enough Google searches to find what you need. I mean, a good, public resource is well documented and easy to use. But if you're hacking a way through a non-public resource (or, more precisely, one not designed to be used this way), you definitely have to search and experiment and hack. Link to comment Share on other sites More sharing options...
hacker Posted August 1, 2014 Author Share Posted August 1, 2014 I mean, a good, public resource is well documented and easy to use. For example? A link would be nice. Thanks, Hacker Link to comment Share on other sites More sharing options...
Larry Posted August 2, 2014 Share Posted August 2, 2014 https://stripe.com/docs/api Link to comment Share on other sites More sharing options...
hacker Posted August 3, 2014 Author Share Posted August 3, 2014 Thank you Larry. I've got another question that came up a bit later in Chapter 10, if you would be so kind... I placed http://www.apple.com/ in my array of URLs to validate (script 10.2 - check_url.php) and it came up 400 Bad Request even though the link works fine. The http://www.apple.com/ link was flanked by URLs that came up 200 OK in my $urls array. Can you explain why this might happen? Thanks again, Hacker Link to comment Share on other sites More sharing options...
Larry Posted August 8, 2014 Share Posted August 8, 2014 I don't actually have an answer for that result. Sorry! Link to comment Share on other sites More sharing options...
Recommended Posts