Wednesday, February 03, 2010

Howto paste HTML/PHP code on blogspot

There are many ways to do this, but one of the simpliest is to use francois.schnell.free.fr/tools/BloggerPaste/BloggerPaste.html.
Happy pasting!

Include PHP files or code in phpBB HTML templates

Adding php code in your phpBB templates using the classical <?php ?> tags won't work.

To make things possible first go to your Administration Control Panel -> General -> Security Settings and enable Allow php in templates option.

Then you can use the following syntax to add php code:

<!-- PHP --> echo "PHP Code!"; <!-- ENDPHP -->

To include php files:

<!-- PHP --> include("/path/to/file.php"); <!-- ENDPHP -->


Friday, October 16, 2009

The server www.xxxxxxx.com at Magic requires a username and password.

Recently one of my wordpress site was giving this message: The server www.xxxxxxx.com at Magic requires a username and password when I was trying to update or preview an old post.

After digging into this for a bit, I found that some files have been modified: ./wp-includes/vars.php and a couple of files in plugins directory like ./wp-content/plugins/akismet/akismet.php.

All these files have lines (usually first line) containing:
eval(gzinflate(base64_decode('1VVtT9swEP7 [...]

After removing these lines (manually via SSH or FTP), the wordpress site turned out to normal.
It seems like one of the wordpress administrator had some trojans on his computer, probably one of them modified the wordpress files through wordpress admin area after he logged in.

You can read more about people complaining about this issue here: http://wordpress.org/support/topic/295482?replies=44

Tuesday, June 30, 2009

E-gold rejects identification documents

I am an E-gold user since many years.
It looked as a very stable system so I decided to keep most of my funds in the system, as a gold investment. Last year they had some troubles with the feds and changed their policy. They requested me to send some docs, I did and now when I login I get:

Photo ID permanently rejected.
Reason previous document was rejected: Refuse Service
Proof of Residence permanently rejected.
Reason previous document was rejected: Refuse Service


I asked for explanation, and they cited from the Terms of service that they reserve the right to reject any user for any reason.
I have no idea now how could I recover my money. It's sad, because I trusted both E-gold and Moneybookers and they both let me down. I was always suspicious about Paypal, but in many years, Paypal was the most stable and I had almost no problems with it.

Monday, March 23, 2009

More money for bloggers: pay per post/review

Bloggers can now make more money by selling review posts on their blogs using services like: