![]() |
error with file_get_contents and Amazon XML - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: error with file_get_contents and Amazon XML (/showthread.php?tid=47504) |
error with file_get_contents and Amazon XML - El Forum - 12-11-2011 [eluser]pdxbenjamin[/eluser] I'm using CI to communicate with one of Amazon's web services... This code works outside CI perfectly, but put into a CI view or controller, I get this error. Any help would be appreciated. $file = aws_signed_request($ext, $parameters, $public_key, $private_key); $data = file_get_contents($file); print_r($data); die(); A PHP Error was encountered Severity: Warning Message: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known Filename: template/aws.php Line Number: 42 |