Archive for the ‘PhP’ Category

Well, I was working on my home server with the Simplepie script (http://simplepie.org) to get some RSS feeds on a site.
It worked great untill I moved it to my live Server.
All I got where white screens…. could not figure it out what this problem was.
Than I found this forum

Read the rest of this entry »

VN:F [1.8.5_1061]
Rating: 5.5/10 (2 votes cast)
VN:F [1.8.5_1061]
Rating: -1 (from 1 vote)

So why would you want to calculate a day of year to a date ?

Well I needed it for my Sudoku script. (http://sudoku.gebruikmaar.nl)
I wanted to show a new Sudoku every day, and let the visitors be able to show the sudoku of yesterday and the days before.

Read the rest of this entry »

VN:F [1.8.5_1061]
Rating: 5.3/10 (3 votes cast)
VN:F [1.8.5_1061]
Rating: -1 (from 1 vote)

thumb_scriptingWell everybody knows this problem.

You want to display a nice date on your PhP site (e.g. Tuesday, 15 February 2008) but it doesn’t do it in your own language.

Like me, I always want to display the date in the dutch language. Today I made new page on my www.gebruikmaar.nl page to display the week numbers. (weeknummers.gebruikmaar.nl). But even with the setlocal (setlocale(LC_ALL, ‘nl_NL’);) on nl_NL it did not work… it shows English weekdays and month name…. so… I decided to make a general script that does this for me… no matter what the language settings are.

Read the rest of this entry »

VN:F [1.8.5_1061]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.5_1061]
Rating: 0 (from 0 votes)
Donate

Like the information on my site? Please donate for a cup of coffee, or give a bit more for a cappuccino.

Twitter
Usergroups
Get Adobe Flash playerPlugin by wpburn.com wordpress themes