Work experience |

 Your Ad Here

Coding samples and tips|


Here you can find my php works, hints, and things that I learned.

Regexp generator
In my experience to-do list one of points are "To know regular expressions better". But until I can write regexp with my closed eyes, I use very useful resource on web: RegExr P.S. Sorry comments does not work. Something changed in new etomite cm...
Author:
Vaidas
— 2008-11-13
More »


PHP exec time
Sometimes, I need to optimize pieces of code, especially mysql query execution time. But how to check if some piece of code is faster than other? I use PHP function microtime(). Thats how it looks like: $code_starts = microtime(true); ... <som...
Author:
Vaidas
— 2008-10-21
More »


Website speed
If your website, blog or portal gets bigger with time, or has/will have huge traffic, you need to find its weakest spots. This free online tool is very useful, when speach comes to speed. http://tools.pingdom.com/fpt/. Pingdom tools - a free ...
Author:
Vaidas
— 2008-08-25
More »


Optimize MySQL
MySQL is powerfull enough to make almost anything in web development. Even wikipedia uses it. Of course, I am not guru to understand and make such a big system. But even most of small projects need optimisation. By optimising MySQL queries, you get f...
Author:
Vaidas
— 2008-04-11
More »


Bash file names
Recently I was writing Bash shell script, which moves files and directories from one server to other. As files and folders are created by end users, there are problems about file names. Users create folders with spaces e.g. very important and Bash s...
Author:
roota
— 2007-10-01
More »


Changing hosting
Recently, I changed my hosting services. Purchased domain and hosted my site on a new hosters server. As I'm interested in SEO and most of visitors comes from Google (some day I will write a little about SEO when Ill have more free time). I needed to...
Author:
Vaidas
— 2006-10-03
More »


php-XML
If you ever plan to use XML with PHP there is good XMLParser class written by Adam A Flynn. You can get it for PHP4 and PHP5 from his page http://www.phppal.com/xml/doc.php. There are some examples, so it wont be very hard to under...
Author:
Vaidas
— 2006-09-08
More »


CP to Unicode
Here youll find CP to unicode converter written by me. I needed such utility for MS-DOS. Yes, MS-DOS doesn't support unicode, but what to do if you need to convert from windows-1257 to Unicode. Yes, there are some converters written for windows. Some...
Author:
Vaidas
— 2006-07-24
More »


Delphi threads
Recently I was reading about programming with threads in Borland Delphi. There is very good tutorial written by Martin Harvey: Multithreading - The Delphi way but is seemes, that demon.co.uk is dead, so I would like to share offline version of this g...
Author:
Vaidas
— 2006-05-09
More »


Phpmailer
Story about mail sending continues. Sending lots of mails to non-existant e-mail adresses or even non-existant/mistyped hosts there are lots of problems. Usualy email has been rejected by smtp server and all mails in BCC is not sent. So I decided to ...
Author:
Vaidas
— 2005-09-22
More »




Additional Recent Articles:
CSS ul pos.
JSP tutorial
mail()
Strings