Tag Archive - job

technical co-founder.

I’ve received the following message through a contact of a contact ; Not even sure if its still ‘valid’, but, we never know.

We are a Montreal based start-up looking for one or two developers to join the founding team and lead the development of a Web application built on the Software as a Service model, i.e. people will actually pay to use our product ;-)

Our ideal partner is someone who thrives in the creative, fast paced, get-things-done atmosphere of a start-up. You are easy to get along with and respectful of others. You are familiar with Ruby on Rails, Django or one of the popular PHP frameworks. You know your way around a database, write scripts in your sleep and have long since mastered Regular Expressions. Knowledge of Javascript and implementing AJAXy interfaces are definite assets.

We’re bootstrapping, so the ability to run lean for a while is a must. We want you to commit full-time to the project but, for the right person, we might consider part-time involvement. Lots of people talk about one day launching or joining a start-up but few actually ever do it. Which group do you want to belong to?

If you are interested, get in touch with us and we would be happy to tell you more.

So if you are interested (and I know you/can vouch for you), please get in touch with me and I’ll forward your contact info to those guys. Knowing them, should be quite a fun ride.

retrieve client browser lang setting with php

I promised a client I would give him a little PHP script to help him deal with internationalization (french/english visitors) of his website. So, here is a very simple way to retrieve your visitor’s browser language setting and fork through a IF clause based on this value :

< ?php
#we retreive the language
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);


#if french $lang=fr, english $lang=en
if ( $lang==”fr” ) {
echo “ceci est la version francaise”;
}
else {
echo “other language”;
}

?>

This is not meant to be the ‘best’ way or the ‘easiest’, it is simply the way I would do it for a small project. If you got a better way, feel free to post it in the comment section of this post !