After moving a clients Associate-o-matic store to a new hosting, images have stopped showing. If we attempted to view the image the following error would appear:
Warning: file_get_contents() [function.file-get-contents]:… File(/aom/img.php) is not within the allowed path(s)
Even after updating to the new version of AOM I could not get it to work. The work around I found is to use cURL intead of file_get_contents(); To do this I followed these simple steps.
- Download and open file /aom/img.php
- copy the function CURL replacement for file_get_contents to the end of the file before ?>
- comment out the line echo file_get_contents($img); (just add # at the start of the line, do this for both instances of the line)
- add echo file_get_contents_curl($img); under both lines you have just commented out.
- Save and upload the file.
I have selling on Amazon.co.uk a copy of each of the following books:
Linux Shell Scripting with Bash (Paperback) (SOLD)
by Ken O. Burtch (Author)
Linux Shell Scripting with Bash will help you learn to not only get your system up and running quickly by employing the Bash shell, but it will also show you professional scripting solutions through the use of structured programming and standard Linux development tools. The book focuses on the Linux environment, which the shell relies on to function, and the robust Linux tool set, making this book ideal for learning shell scripting. Real-world scripts are included that are readable, extendable and easy to debug. This book is an asset to any Linux user.
The Qmail Handbook (Paperback)
by David Sill (Author)
qmail is used by hundreds of ISPs and thousands of other sites, including Hotmail since 1997, which has over 30 million users. qmail is popular because of its security, reliability, speed, low memory use, user-controlled mailing lists, straightforward administration, and much more! An Introduction to qmail is designed to guide system and mail administrators of all levels of experience through the installation, configuration, and maintenance of a qmail server.
SSl and TLS: Building and Designing Secure Systems (Paperback)
by Eric Rescorla (Author)
SSL and TLS: Designing and Building Secure Systems offers clear and comprehensive descriptions of these security protocols and their implementation, and also provides “designs”–tried and true templates that suit various scenarios. Armed with this book, you can become well versed in the importance of SSL and TLS, be able to work with them to provide solutions, and furthermore identify an appropriate tested “design” that will solve the security problems of a proposed new network installation.
I am deeply shocked at audible.com for not having an app for Android. They claim that “the Android media player does not allow playback of our titles“… right. Anyway they are now attempting to get the ball rolling for an App for Android in 2010. There’s a signup for upcoming beta testing on their website and I urge every Android user (or user to be) to sign up and put a little bit more pressure on them.
Android is a great mobile platform and companies like Audible.com (an Amazon associate) are stalling its growth with short sightedness.
UPDATE from comment by JP White: “A Beta Audible app is now available for Android devices. Read more at