[tutorial] How to get multilingual content on your php website

Here's how:

  1. You need to use cookies to propagate the language variables
  2. Can also use _GET[] variables but thats extra effort
  3. You read the cookie at the top of each page
  4. Set it to your default language of preference if you dont find any variables set for this purpose
  5. Load your language file

Internet Explorer 6 won't recognize transparent png's?

It is true, im afraid. Been wondering what was wrong with this drupal theme (zubrick, http://www.drupal.org/project/zubrick) that i ported to Drupal 6.x.

It just wouldnt display a transparent .png correctly. Safari, Firefox etc of course, display it correctly without problems.

Explorer, of course, didn't. Therefore I had to switch to transparent .gif to make it work. I don't exactly know what the problem with explorer was, all i know though is that it couldn

...there's something in the attic!

Just finished upgrading an old work of mine, http://www.andromeda-pension.com



New version Improvements (read on...):

  • Div-ified (was tabled before)
  • Uses jQuery effects (better than flash)
  • Added lightbox Gallery
  • Added guestbook
  • Updated photographs (by Thomas Tzadimas)
  • Updated Texts & Search Engine code


php: why does mktime() work, and strtotime() doesnt?

I had a website that was full of validations etc, and used strtotime to get user input for dates and make the timestamp.

All was well till i uploaded to the live server, where it didnt work at all!

Hotel bookings for 10 days were suddenly 2257 days and users had to pay 380000euro for accomodation fees ! :-)

changed to mktime and string split() to make it work.

Any ideas why that happened?

e-pay project ending! [update:ended]

I was asked to create a checkout form (and a big one too) for a conference website, which will be a booking sort of form, with hotel reservations, dinners etc.

Its gonna be a custom form though, since its that complex. After validating and the user confirming their checkout, they will be taken into eurobank's secure payment center to pay, and then return back to the report page.

It will need MySQL, PHP, an Apache server (http/https), and a basic admin interface for the people managing the whole thing.

The times are extremely short, extreme pressure etc, but we'll mak

< first   < previous   1  2  3  4  5   next >   last >