Tuesday 11 June 2013

How To Use PHP On Blogger

Important: All scripts hosted on widcraft.googlecode.com don't work anymore because Google has blocked that SVN repository.
We love Blogger, probably because it's free and is a Google Product. In April, I posted an article about some reasons why we should choose Blogger as our blogging platform, as I never miss a chance to promote my old articles.

As I noted in that article, Blogger is not a really good choice for a php developer, as it only supports html, css and javascript. However, there is a possible way to use your php files on Blogger, which is quite easy.

First we need a php hosting to host our php files. There are tons of free sites for php hosting, here are some:
awardspace.com
zymic.com
000webhost.com
Click here for more...

So just create an account on one of these free php hosting sites, and upload your php files in it. Now it's type to put your php files into your blog by iframing it or by using this code:

<object data="http://your-file.php" height="500" type="text/html" width="600"></object>

Now just replace red text in above code with your php file's link and publish it or post it on your blog.

That's the only possible way to do this... :)
Important: Check our new website TricksPanda.com for WordPress tutorials, plugins and more.
 
Powered by Blogger.