If your Plesk control panel is anything like mine, then you will find that there are no visitor stats for any of the domains on there, but fear not, the stats are/have been collected (usually by default they're pre-collected by 3 months - well that's what mine were set to).
First of all check that your domain(s) have got webstats enabled. To do this you'll just need to log in to your Plesk control panel, then on the right hand side select your domain from the "My Webspaces" section.
Then select the "Websites & Domains" tab, scroll... [read more]
Before I start, I am hoping that you A) have downloaded Icecast 2 and B) have some software installed that is compatible with Icecast 2 (Like SAMBroadcaster, etc..).
Right, first extract the icecast download and put it somewhere easy to navigate to (I put mine on the root of my C drive). Now navigate to "/icecast/etc/"
There will be a file in there called "icecast.xml". Open that with Notepad and scroll down just a tiny bit and you'll see an "<authentication>" section. You will need to change the passwords here (default: hackme) that I've highlighted, change them to something that'll... [read more]
Take a look at this picture I took yesterday and tell me if you can see any text wrote on it?
Unless you've got the eye of a hawk, then the answer will probably be no. However there *is* text on there. And I'll also tell you how to achieve this quick and simple way, which you could use if you create images yourself and don't want others taking credit for them - without having to plaster your image with visible text.
Ok, so you'll need an image, I will use... [read more]
So in the previous post in the Twitter Series, I covered how you can send a text-based tweet. Now in this post, I will show you how to send a tweet along with an image.
Now it should be noted at the moment that the PHP Twitter library we are using, Abraham, doesn't seem to support natively Twitter's "statuses/update_with_media" API call (neither did it in v1), however there are a few work arounds, some simple and some a bit complex, however for this tutorial we'll stick to a more simpler workaround. (Hopefully though in the not-too-distant-future, Abraham updates his stuff and... [read more]
You should now have the API running with v1.1, your application setup and your keys/secrets all together? Yes? Great, lets begin...
Hopefully your directory structure is currently like this:
+ Root Folder + twitteroauth - OAuth.php - twitteroauth.php
If so, then in the "Root Folder", create a file called "hello.php".
Now we will begin. At first we will need to assign all the keys and secrets as seperate varibles, like so:
<?php // Consumer key $consumerKey = ''; // Consumer secret $consumerSecret = ''; // Access token $OAuthToken = ''; // Access token secret $OAuthSecret = ''; ?>
Within the single quotes, you will need to put your values that're shown on your Twitter application's page.
Now... [read more]