18 May, 2007

SQL Injection Demo

Posted in: PHP, Tutorials

Always wondered how SQL Injection works? Check out the following demo video.

Technorati Tags: sql injection, sql, hacking, database, application security

Continue reading SQL Injection Demo

I have been reading articles on how to optimise MySQL databases and queries and here are a few tips I have learnt and would like to share with you:

Proper use of indexes improve performance
Do not perform calculations on an index (eg: if you have an index for a column called salary, do not perform calculation [...]

Continue reading 15 tips on optimising MySQL databases and MySQL queries

I am using WordPress as a CMS for one of my websites. For that website, instead of having a default category page, I wanted to have a customised category page which lists titles of all posts under that category. And I also wanted to display a category image if it exists in /wp-content/uploads/images [...]

Continue reading Customising category.php in WordPress

Use LEFT JOIN when you want to return all rows from left table regardless of whether they have any associated rows on right table.
Use RIGHT JOIN when you want to return all rows from right table regardless of whether they have any associated rows on left table.

SELECT
users.`firstname`,
pets.`nickname`
FROM [...]

Continue reading LEFT JOIN and RIGHT JOIN in mysql

Comments Off

A while ago, I wrote eZ Publish extensions for Flickr and YouTube. Basically, you pass a keyword/tag you’d like to search to template operator and it will return a list of photos (and videos if you are using YouTube template operator) matching the criteria. You can also set total number of results to [...]

Continue reading eZ Publish extensions for Flickr and YouTube

Flickr, YouTube, and Google Search Mashup

Do you like my little mashup? Written in PHP and Javascript using Flickr, YouTube and Google Search APIs.
Any suggestion on how I can put it into a good use?
Technorati Tags: youtube, google, flickr, api, mashup, web, web 2.0, [...]

Continue reading Flickr, YouTube, and Google Search Mashup

10 Sep, 2006

How Object Oriented is PHP?

Posted in: PHP

How OO is PHP?
How “object-oriented” is PHP? Your answer to that question probably depends on your particular litmus tests for object-orientedness. In this sidebar, we offer a whirlwind tour of features that typically show up in OOP languages and briefly discuss the extent to which PHP supports them. Some of these issues are explored more [...]

Continue reading How Object Oriented is PHP?

Comments Off
Profile PicHello! Welcome to Web development blog! My name is Ei Sabai and on this blog, I write about web development, mobile app development, latest web technologies and the likes. Read more about me or have a look at some of the tips & resources I've written.
Subscribe to our newsletter to receive tips, resources and special offers related to web development & design.
We do NOT spam.
Your name:  
Your email:  

Tips & Resources

Tips & Resources
WordPress Web Hosting
Recommended web hosting providers for WordPress 3.0
iPhone Native App Development
Important steps into iPhone app development for beginners
iPhone Web App Development
Tips for iPhone web app development
Coupons for Web Developers
Get discounts on web hosting, domain names, templates, etc
10 Useful jQuery Snippets
Easy-to-use jQuery snippets for any website
HTML Email Newsletter
Step-by-step tutorial on how to code an HTML email newsletter
  • bluehost Hosting $6.95/month
  • Joomla Templates