Categories

Recently I’ve moved from Rackspace cloud US to the UK, and as such needed to transfer a large amount of data from my cloud files. Rackspace will not provide this service for customers unfortunately due to many legal hoops required when handling customer data, therefore I had to create a solution of my own to save doing this manually
Thankfully RS do provide a PHP SDK for their cloudfiles API, available here. You will need to have this installed as well as the php script for the script to function correctly

Please note that you will need to create a container in your UK cloudfiles to transfer into. Also note that you use this script at your own risk. I take no responsibility for any data loss/corruption as a result of using this script

Here’s a simple timer class that I wrote to help with benchmarking tests while running PHP code, in order to see how quick code is running, although it can be used for any timer functionality really. I have clearly documented the code below, along with an example of how to use the timer

The code above is clearly documented as to how it all works. To call the function simply use$links = get_links('http://www.example.com');
changing the website link to the page you require the links off. You could also expand this code to give you further details for the links such as the no follow attributes and so forth

If you have any questions about this feel free to contact me as always

Also please note that this requires PHP 5 in order for you to be able to use the DOMDocument

As you can see, the process is fairly straightforward and will allow you to reset your password(s) to whatever you choose without the need of resetting via e-mail, then entering the new random password into the login and setting your password to the desired new password

If you have any questions, bug reports or want to simply comment feel free to contact me via the contact page