xymalf Posted July 21, 2012 Share Posted July 21, 2012 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>phlickr_test.php</title> </head> <body> <?php require_once 'PHLICKR/Phlickr/Api.php'; define('FLICKR_API_KEY', '1ec60e6261e4e4d84d4887b616525e05'); define('FLICKR_API_SECRET', '35ae16c554110a64'); $api= new Phlickr_Api(FLICKR_API_KEY, KEY_API_SECRET); $response = $api->ExecuteMethod( 'flickr.test.echo', array('message' =>'it worked') ); print "<h1>{$response->xml->message}</h1>"; ?> my test file is located on my server at http://www.xymalf.co.uk/PHLICKR/Phlickr/phlickr_test.php All i get is a blank screen when i run the above program. Quote Link to comment https://forums.phpfreaks.com/topic/266044-i-cant-get-this-simple-script-to-work/ Share on other sites More sharing options...
xymalf Posted July 21, 2012 Author Share Posted July 21, 2012 sorted. Quote Link to comment https://forums.phpfreaks.com/topic/266044-i-cant-get-this-simple-script-to-work/#findComment-1363314 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.