Browsing Posts in Programming

I’ve been working with PHP a lot as of late. I feel that PHP  just does not cut it when it come to developing web 2.0 web applications. Also i do not like where php is going syntactically. ?Download language.lang1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [...]

Currently I’m working on a on how to validate nominal number like Cd Keys are validated by a installer, any idea intranets?

Today i was trying to write a regular expression to remove blank lines using the PHP method preg_replace. After googling it i found this solution being posted online. PHP: $s = preg_replace(“/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/”,”",$s); Perl: $s =~ s/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]//g; Input: ———————– hello ———————– Output: ———————– hello———————– Not very nice. Seems that this expression removes newline characters from cases [...]

I’m adding a programming section containing algorithms and other programming related topics.

I was playing around with c and creating pseudo type objects. Objects.c ?Download object.c1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 [...]