Jump to content

I can't get this simple script to work.


xymalf

Recommended Posts

<!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.

 

 

Link to comment
https://forums.phpfreaks.com/topic/266044-i-cant-get-this-simple-script-to-work/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.