Tag

Tag: Programming

You are browsing all the posts tagged with Programming.

A Great Way To Show Off Your Sponsors Or Friends On Your Website

A Great Way To Show Off Your Sponsors Or Friends On Your Website

Everybody has a link list, a blog roll, a links page etc. on their website. Here’s a great way to show off your friends, sponsors or websites you like with the jQuery Sponsor Flip Wall. No … it’s not a table. It’s a jQuery animated wall. It does it like this: What’s great is that […]

The Programming Husband

A woman asks her husband – a programmer – to go to shopping. Dear, please go to the grocery store to buy some bread. Also, if they have eggs, buy 6 Twenty minutes later the husband comes back bringing 6 loafs of bread. His wife flabbergasted: Dear, why on earth did you buy 6 loafs […]

Multiple CSS Style Session Flash’es in CakePHP

Multiple CSS Style Session Flash'es in CakePHP

We all know that CakePHP has the Session component that allows us to login and logout users and to show them messages that appear only once: Session->setFlash(‘Random message that appears only once’); ?> We can style this message the way we want but what about having these kind of messages that are style differently […]

Multiple Databases in CakePHP

Multiple Databases in CakePHP

There comes a time in life when you need to use multiple databases for a website you have to build 🙂 . I came across this “problem” when I was working on a portal website and I had to make sure that users can login with the same details on any website that company owned. […]

The Faces Behind Popular Programming Languages

The Faces Behind Popular Programming Languages

C Dennis MacAlistair Ritchie (born September 9, 1941) is an American computer scientist notable for his influence on C and other programming languages, and on operating systems such as Multics and Unix. He received the Turing Award in 1983 and the National Medal of Technology in 1998. Ritchie was the head of Lucent Technologies System […]

New in CSS 3

New in CSS 3

Just in case you wondered what’s coming with CSS 3 here are 3 of the most interesting features. Border-Radius Before After CSS Code: -moz-border-radius: 10px; -webkit-border-radius: 10px; Works in Firefox 3 and Safari 3 Opacity Before After CSS Code: opacity: 0.6; Outline Offset Before After CSS Code: outline: 2px solid orange; outline-offset: 4px; At the […]

3 HTML Tags You Probably Never Used

or The and tag describes abbreviations and acronyms. By marking up abbreviations you can give useful information to your visitors by showing tooltips when they hover the mouse over the element. Example: HTML The tag defines a short quotation. It tells the browser to insert quotation marks around the […]

Display the time passed in any format you want

If you use digg you probably noticed that they displayed the time passed since a comment has been posted in the following way: To obtain a rezult in this format we will use the function strtotime. This function counts the seconds that have passed since the 1st of January 1970. In order to obtain the […]

Captcha – The simplest way to make it

A big problem today is spam. The best way to combat spam is Captcha. Captcha makes the difference between a computer and a human being. Computers cannot read the text in a picture and this is why we’ll use a photo too.   Let’s start by creating the file captcha.php. This file will create a […]

20 Things Programmers Say When Something Is Not Working

20. That’s weird…. 19. It’s never done that before. 18. It worked yesterday. 17. How is that possible? 16. It must be a hardware problem. 15. What did you type in wrong to get it to crash? 14. There is something funky in your data. OR It’s a data problem, not a program problem. 13. […]