CrankBerry Blog Title

Archive for October, 09

2009


No Comments

Having WordPress menu elements on non-WordPress pages

Categories :: WordPress

So you have a WordPress blog but you're also creating pages not through WordPress. You're thinking about how to incorporate your categories menu, archive menu and other elements into the other pages you're making. Well it is very simple and I'll show you exactly how.

2009


(1) Comment

CSS rounded corners with borders

Categories :: CSS, Tools

An upgrade has been made to my CSS rounded corners generator, now not only does it use no images, cross browser compliant but now with additional borders option. Add that all up and you have a cross browser, no image, bordered CSS rounded corners generator. Of course that name is too long so we'll just stick with the old one.

CSS rounded corners with border

2009


(1) Comment

PHP Image Verification aka Captcha (Basic)

Categories :: PHP, Scripts and Programming

You're making your website and you have forms. Here you are thinking, what if spam bots found my form? What if somebody submitted to my form from their own script? What should I do? Well, there's many things you can do to mitigate your worries but one of the simpler things you could do is having an image verification field in your form. Here's a basic script to generate a random code in image that bots can't read.

image verification

2009


(1) Comment

Inspirational minimalist web sites/web designs

Categories :: CSS, Inspiration

Here are some inspirational sites for those time when you just need a starter kick to your artistic senses.

2009


(2) Comments

Setting PHP cron job with crontab

Categories :: PHP, Web Hosting

So you've created a PHP script that does something like clean your tables or compiles a report on some data. You want it to run it every 2 hours but you don't want to go to your computer every 2 hours. What should you do? Cron job using crontab is what you should do. Cron job is basically setting a timer on your server to run the script at a certain time that you please. Sounds easy enough, but how do you do it? Lets find out!