Hi,
I have been trying to get this sorted but I am having no luck with this
certain page:
First I was getting this error message:
Warning: file_get_contents(http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&Version=2005-03-23&Operation=ItemSearch&ContentType=text%2Fxml&SubscriptionId=122CAXMJKCG3B7DHGZG2&AssociateTag=xxxxxxxxxx-xxx&SearchIndex=Books&BrowseNode=&Keywords=asthma&ItemPage=1&Sort=&ResponseGroup=Images,ItemAttributes,OfferFull,Medium,VariationSummary) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /home/XXXXXXX/public_html/XXXXX.com/XXXXX/includes/amazon.php on line 847
Now I did try to change out this function:
on that line from this: file_get_contents
to this:fopen
but then I got this error message:
Warning: fopen() expects at least 2 parameters, 1 given in /home/XXXXX/public_html/XXXXXX.com/XXXXX/includes/amazon.php on line 847
Warning: Invalid argument supplied for foreach() in /home/XXXXXX/public_html/XXXXXXXXX.com/XXXXXXX/includes/amazon.php on line 871
Please can someone help me to sort this out and tell me where I am going wrong
or what coding now needs to be changed in order to get this script page sorted please?
I thank you so very much and will await your much needed expert advice back into this error message, I am a newbie still learning all this PHP trying but not getting to far.
libby