Mercurial > hg > ywww
changeset 18:c41a5802b26c
better debugging
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Sun, 30 Jul 2017 05:34:46 -0400 |
parents | ae1459564f66 |
children | 84a412b8122c |
files | php/read/getBookDetails.php xml/getAmazonInfo.php |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/php/read/getBookDetails.php Mon Jul 24 11:38:35 2017 -0400 +++ b/php/read/getBookDetails.php Sun Jul 30 05:34:46 2017 -0400 @@ -219,7 +219,7 @@ // principled solution in place } else { - file_put_contents('/var/ywww/debug/phpDebug',"parms bd: ". + file_put_contents('/var/ywww/debug/phpDebug',"parms $url\nbd: ". print_r($parameters,TRUE)."\n",FILE_APPEND); if ($code=="") { file_put_contents('/var/ywww/debug/phpDebug',"error elt:\n$out\n",FILE_APPEND);
--- a/xml/getAmazonInfo.php Mon Jul 24 11:38:35 2017 -0400 +++ b/xml/getAmazonInfo.php Sun Jul 30 05:34:46 2017 -0400 @@ -119,7 +119,7 @@ // principled solution in place } else { - file_put_contents('/var/ywww/debug/phpDebug',"parms: $go\n". + file_put_contents('/var/ywww/debug/phpDebug',"parms: $go\nurl: $url\n". print_r($parameters,TRUE)."\n",FILE_APPEND); if ($code=="") { file_put_contents('/var/ywww/debug/phpDebug',"error elt:\n$output\n",FILE_APPEND);