tihomir ivanov

Hi All,

I learned PHP in only 17 hours and it was absolutely enough to begin work as a PHP developer. Learn More how it can be done.

 

Honestly, I don't like asp.net, php, java, c++, javascript, ruby at all.

So, I Created My Own Powerful Programming Language for a few days.

Learn How it Can Be Done. It's really easy :)

Export data to docx file using Open XML SDK

Written on February 8, 2010 – 3:46 am | by admin |

Here’s simple example how can we export some table data to docx file using Open XML SDK. If you are not familiar with Open XML SDK, you can check out first Introduction to Open XML SDK. In this example: 1) Create some string array that represent table data 2) Create a new Docx file and [...]

Tags: ,

Simple Rotating Ad Script in PHP

Written on February 7, 2010 – 4:12 am | by admin |

This weekend I sold banner ad space in one of my websites. The client wanted two banners to be rotated in same place. Here’s a simple php script how it can be done: <a href=”http://advertise-site-url.com” target=”_blank”> <?php $variable[1] = ‘<img src=”http://www.mysite.com/ads/banner-1.jpg” alt=”banner 1″ />’; $variable[2] =’<img src=”http://www.mysite.com/ads/banner-2.jpg” alt=”banner 2″ />’; $adCount = count($variable); $randomAdNumber = [...]

Tags:

Export Textbox’s text to a file using asp.net

Written on February 6, 2010 – 3:31 am | by admin |

In the Reduce Code Size Tool, I wanted to add ability for the users to be able to export the Output TextBox’s Text into file. It can be done dynamically, without need to create a temp file into the server. Here’s an asp.net example how it can be done: Response.Clear(); Response.AddHeader(“Content-Type”, “application/html”); Response.AddHeader(“Content-Disposition”, “attachment; filename=” [...]

Tags:

Cool Websites for Inspiration February 2010

Written on February 5, 2010 – 1:55 am | by admin |

Here is a new portion of cool website that can be used for inspiration: 1. Portfolio – Mauricio Guimaraes It’s very professional portfolio website written in Flash. I liked the contact form – the idea how e-mail and phone are displayed over images. I should use this idea in my websites: URL: http://mauriciostudio.com/ 2. Organic [...]

Cool WordPress Related Firefox Extensions

Written on February 4, 2010 – 1:43 am | by admin |

If you use the FireFox browser and WordPress for blogging platform, here are some FireFox extensions that could make your blogging life easier: 1. WordPress Post FireFox Extension This extension could save you a lot of time, because it allows you to post the text you select from browser directly to your WP blog. URL: [...]

Tags: ,

Freelance Negotiation Tips

Written on February 3, 2010 – 1:37 am | by admin |

For couple of years work as a freelancer, I decided to share some tips when you negotiate about a freelance work: 1. Always be Kind I know it’s hard, especially after all day debugging some sh*t. But you should always be kind with your client, that will make the negotiation easier. If you are a [...]

Tags:

PHP Best Practices in Security – Part 2

Written on February 2, 2010 – 1:24 am | by admin |

If your web server’s access permissions are wrong, it will be easier for somebody to take control over your server. So, next 3 advices are how to fix your access rights: 1. Do not allow PHP files to be writable. 2. Do not allow executable and writeable files in your web root. 3. Do not [...]

Tags:

Simple Tips When Working with jCarousel

Written on February 1, 2010 – 1:33 am | by admin |

I wanted to create some automatic scrolling list of most popular articles in the home page. I found a jQuery plugin – jCarousel, it was everything I want. The example, I liked most was Carousel with external controls. Here’re few tips how to integrate jCarousel in your website: 1. Reduce the number of javascript and [...]