[PHP] Regex æøå email validation?

2007-09-24 Thread Søren Neigaard
Hi guys Im helping a friend with hes internet site, and I have found this regex email validation regex on the internet: var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a- z]{2,6}(?:\.[a-z]{2})?)$/i; if(!filter.test(email)) { return false; } It works fine, but my

[PHP] How would i construct a date from year/week?

2007-07-08 Thread Søren Neigaard
Hi wizards Do any of you have a good solution for me here. I would like to browse between weeks, and then based on the week and year construct a full date on the monday of that week. How on earth would I do this? How can I construct a date only given a year and a week number? I hope you

[PHP] Unknown number of check boxes?

2007-05-28 Thread Søren Neigaard
Hi I would like to have a unknown number of generated check boxes like this: And the name will be generated "chk01 to chk99", but how do I make the receiving PHP script that "scans" for post variables that are sent, so that I can work on this information? Best regards Søren smime.p