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: <?php $this->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 [...]
Multilingual Website with CakePHP
We all know that developing a website in CakePHP is very easy and also fast. Here’s how to create a multilingual website fast. First open app/config/bootstrap.php and set the languages you want available for your website: Configure::write(‘Config.languages’, array( ‘ro’ => array( ‘language’ => ‘Romanian’, ‘locale’ => ‘rum’, ‘localeFallback’ => ‘rum’, ‘charset’ => ‘utf-8′ ), ‘en’ [...]
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. So [...]
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
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
<abbr> or <acronym> The <abbr> and <acronym> 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 <q> The <q> tag defines a short quotation. It tells the browser to insert quotation marks around the [...]
Sava’s Single File Upload Script
Single file upload script. All the variables can be easily changed to suit your needs: – maximum file size that can be uploaded – allowed file extensions of files that are uploaded Easy to integrate into any design as it is very easy to remove it’s css and use your own. You can also view [...]
Sava’s GuestBook v2.0
Features New simple layout will easy on the eye colors The entries submitted will stay pending untill the admin approves them. Image captcha Pagination system – the GuestBook will display the entries in pages so that your page will load faster and be smaller. You can edit the number of entries displayed per page in [...]
Sava’s ReviewMe Offer Notifier
With this scripts you can easily get the latest offers from ReviewMe directly to your email address. Script needs to be added as a cron job. If you don’t know how to set up a cron job read this article. No Preview | Download (4.72KB) ( 2207 downloads )
Sava’s Random Quote
Quotes are stored in a text document. Just include the quotes.php file wherever you want to display random quotes on your website and you are done. Inserting your quotes: – HTML can also be used with your quotes. – To enter another quote in the text file hit enter. – you can use as many [...]











