xymalf Posted July 13, 2012 Share Posted July 13, 2012 <?php http://www.flickr.com/services/oauth/request_token ?oauth_nonce=89601180 &oauth_timestamp=1305583298 $oauth['flickr']['consumerkey']="1a2755a9a5a19904c7f5e661d85db657"; $oauth['flickr']['consumersecret']="4a325791b4936fe0"; $oauth['flickr']['requesttokenurl']="http://www.flickr.com/services/oauth/request_token"; $oauth['flickr']['accesstokenurl']="http://www.flickr.com/services/oauth/access_token"; $oauth['flickr']['authurl']="http://www.flickr.com/services/oauth/authorize"; &oauth_signature_method=HMAC-SHA1 &oauth_version=1.0 &oauth_callback=http:%3A%2F%2Fwww.xymalf.co.uk/flic/index.php ?> what is wrong in the above code Link to comment https://forums.phpfreaks.com/topic/265639-dreamweaver-showing-errors-for-my-own-php-configphp-file/ Share on other sites More sharing options...
scootstah Posted July 13, 2012 Share Posted July 13, 2012 You have a URL in plaintext at the top, and you have several variables that start with either ? or &. EDIT: And you're missing a bunch of semi colons. Link to comment https://forums.phpfreaks.com/topic/265639-dreamweaver-showing-errors-for-my-own-php-configphp-file/#findComment-1361402 Share on other sites More sharing options...
xymalf Posted July 13, 2012 Author Share Posted July 13, 2012 the code is taken straight from flickrs API page - I want to call the flickr url with a concaternating string with this information. What do i modify - please. Link to comment https://forums.phpfreaks.com/topic/265639-dreamweaver-showing-errors-for-my-own-php-configphp-file/#findComment-1361407 Share on other sites More sharing options...
Jessica Posted July 13, 2012 Share Posted July 13, 2012 Yeah that's a URL, not a config file. You can't just put a URL as plain text in a file and call it a config... Link to comment https://forums.phpfreaks.com/topic/265639-dreamweaver-showing-errors-for-my-own-php-configphp-file/#findComment-1361408 Share on other sites More sharing options...
xymalf Posted July 14, 2012 Author Share Posted July 14, 2012 what is ?oath nonce? The fliucr oath flow says sand a string GET&http%3A etc I am trying to fathom phpflickr out there seems to be no documentation i thought you should be able to run the auth.php file but this does not seem to work. anyway i have sent off for a book on how to program flickr just waiting for it to come from USA. Link to comment https://forums.phpfreaks.com/topic/265639-dreamweaver-showing-errors-for-my-own-php-configphp-file/#findComment-1361475 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.